forked from lindera/lindera-tantivy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
49 lines (42 loc) · 1.36 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.27.1"
edition = "2021"
description = "Lindera Tokenizer for Tantivy."
documentation = "https://docs.rs/lindera-tantivy"
homepage = "https://github.com/lindera-morphology/lindera-tantivy"
repository = "https://github.com/lindera-morphology/lindera-tantivy"
readme = "README.md"
keywords = ["tokenizer", "tantivy", "lindera"]
categories = ["text-processing"]
license = "MIT"
[features]
default = []
ipadic = ["lindera-tokenizer/ipadic"] # Japanese dictionary
unidic = ["lindera-tokenizer/unidic"] # Japanese dictionary
ko-dic = ["lindera-tokenizer/ko-dic"] # Korean dictionary
cc-cedict = ["lindera-tokenizer/cc-cedict"] # Chinese dictionary
compress = ["lindera-tokenizer/compress"]
[dependencies]
tantivy-tokenizer-api = "0.3.0"
lindera-core = "0.32.2"
lindera-dictionary = "0.32.2"
lindera-tokenizer = "0.32.2"
[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