forked from lindera/lindera-tantivy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
52 lines (45 loc) · 1.53 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
[package]
name = "lindera-tantivy"
version = "0.25.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
ipadic-compress = ["lindera-tokenizer/ipadic-compress"]
unidic-compress = ["lindera-tokenizer/unidic-compress"]
ko-dic-compress = ["lindera-tokenizer/ko-dic-compress"]
cc-cedict-compress = ["lindera-tokenizer/cc-cedict-compress"]
[dependencies]
tantivy-tokenizer-api = "0.1.1"
lindera-core = "0.25.0"
lindera-dictionary = "0.25.0"
lindera-tokenizer = "0.25.0"
[dev-dependencies]
criterion = { version = "0.5.1", features = ["html_reports"] }
tantivy = "0.20.2"
[[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