-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
43 lines (37 loc) · 1.49 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
[package]
name = "lindera-wasm"
version = "0.38.1"
edition = "2021"
description = "A morphological analysis library for WebAssembly."
documentation = "https://docs.rs/lindera-wasm"
homepage = "https://github.com/lindera/lindera-wasm"
repository = "https://github.com/lindera/lindera-wasm"
readme = "README.md"
keywords = ["morphological", "analysis", "library", "wasm", "webassembly"]
categories = ["text-processing"]
license = "MIT"
[lib]
crate-type = ["cdylib"]
[features]
default = ["cjk"] # No directories included
ipadic = ["lindera/ipadic"] # Include IPADIC dictionary (Japanese)
ipadic-neologd = ["lindera/ipadic-neologd"] # Include IPADIC NEologd dictionary (Japanese)
unidic = ["lindera/unidic"] # Include UniDic dictionary (Japanese)
ko-dic = ["lindera/ko-dic"] # Include ko-dic dictionary (Korean)
cc-cedict = ["lindera/cc-cedict"] # Include CC-CEDICT dictionary (Chinese)
compress = ["lindera/compress"] # Compress dictionaries
cjk = ["ipadic", "ko-dic", "cc-cedict", "compress"] # Include IPADIC dictionary (Japanese), ko-dic dictionary (Korean), CC-CEDICT dictionary (Chinese), and compress dictionaries
[dependencies]
once_cell = "1.20.2"
serde = { version = "1.0.216", features = ["derive"] }
serde_json = "1.0.134"
serde-wasm-bindgen = "0.6.5"
wasm-bindgen = { version = "0.2.99" }
lindera = "0.38.1"
[dev-dependencies]
serde_json = "1.0.133"
wasm-bindgen-test = "0.3.49"
wasm-bindgen = { version = "0.2.99" }
[profile.release]
# Tell `rustc` to optimize for small code size.
opt-level = "s"