-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
61 lines (50 loc) · 1.65 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
[package]
name = "alphabet_detector"
version = "0.1.0"
authors = ["Dmitry Rodionov <[email protected]>"]
description = "Natural language alphabet detection library"
documentation = "https://docs.rs/alphabet_detector/"
repository = "https://github.com/RoDmitry/alphabet_detector"
categories = ["text-processing"]
keywords = ["language", "alphabet", "detection", "word", "separator"]
exclude = [".github/*", "tests/*"]
readme = "README.md"
license = "MIT OR Apache-2.0"
edition = "2021"
[profile.dev]
opt-level = 1
[lib]
name = "alphabet_detector"
path = "src/lib.rs"
[[bin]]
name = "cli_alphabet_intersection"
required-features = ["cli_alphabet_intersection"]
[workspace]
members = ["alphabet_match_macro"]
[dependencies]
alphabet_match_macro = { path = "alphabet_match_macro", version = "0.1" }
debug_unsafe = "0.1"
# debug_unsafe = { path = "../debug_unsafe", version = "0.1" }
icu_normalizer = "=2.0.0-beta1"
serde = { version = "1.0", features = ["derive"] }
strum = "0.26"
strum_macros = "0.26"
# cli_alphabet_intersection
clap = { version = "4.5", features = ["derive"], optional = true }
threadpool = { version = "1.8", optional = true }
# [target.'cfg(not(target_family = "wasm"))'.dependencies]
ahash = "0.8"
# [target.'cfg(target_family = "wasm")'.dependencies]
# ahash = { version = "0.8", default-features = false, features = ["std", "compile-time-rng"] }
# serde-wasm-bindgen = "0.6"
# wasm-bindgen = "0.2"
[dev-dependencies]
rstest = "0.24"
serde_json = "1.0"
# [target.'cfg(target_family = "wasm")'.dev-dependencies]
# wasm-bindgen-test = "0.3"
[features]
python = []
test_chars = []
files_read = []
cli_alphabet_intersection = ["files_read", "clap", "threadpool"]