-
-
Notifications
You must be signed in to change notification settings - Fork 12
/
Cargo.toml
49 lines (42 loc) · 1.44 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
[package]
name = "lindera-tantivy"
version = "0.38.1"
edition = "2021"
description = "Lindera Tokenizer for Tantivy."
documentation = "https://docs.rs/lindera-tantivy"
homepage = "https://github.com/lindera/lindera-tantivy"
repository = "https://github.com/lindera/lindera-tantivy"
readme = "README.md"
keywords = ["tokenizer", "tantivy", "lindera"]
categories = ["text-processing"]
license = "MIT"
[features]
default = [] # 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
[dependencies]
tantivy-tokenizer-api = "0.3.0"
tantivy = "0.22.0"
lindera = "0.38.1"
[dev-dependencies]
criterion = { version = "0.5.1", features = ["html_reports"] }
tantivy = "0.22.0"
[[bench]]
name = "bench"
harness = false
[profile.release]
lto = true
# Make sure that the build scripts and proc-macros are compiled with
# all the optimizations. It speeds up the flate2 crate that we use in our build scripts.
[profile.dev.build-override]
opt-level = 3
[profile.release.build-override]
opt-level = 3
[profile.bench.build-override]
opt-level = 3
[profile.test.build-override]
opt-level = 3