forked from ketor/tantivy-search
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathCargo.toml
53 lines (47 loc) · 1.28 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
[package]
name = "tantivy_search" # repo package name
version = "0.2.0"
authors = ["Ketor <[email protected]>"]
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
name = "tantivy_search" # library name
# crate-type = ["cdylib", "staticlib", "lib"]
crate-type = ["staticlib", "rlib"]
[dependencies]
libc = "0.2.154"
# tantivy = "0.21.1"
tantivy = { path = "contrib/tantivy"}
rayon = "1.10.0"
once_cell = "1.19.0"
flurry = "0.5.1"
roaring = "0.10.4"
cached = "0.51.3"
stretto = { version = "0.8.4", features = ["full"] }
# cang-jie = "0.18.0"
cang-jie = { path = "contrib/cang-jie" }
jieba-rs = { version = "0.7.0", default-features = true }
serde = { version = "1.0.201", features = ["derive"] }
serde_json = "1.0.117"
env_logger = "0.11.3"
log = "0.4.21"
log4rs = "1.3.0"
threadpool = "1.8.1"
rand = "0.8.5"
clap = "2.33"
regex = "1.10.4"
rstest = "0.19.0"
cxx = "1.0.122"
tempfile = "3.10.1"
thiserror = "1.0.60"
time = { version = "0.3.10", features = ["serde-well-known"] }
[build-dependencies]
cxx-build = "1.0.122"
[features]
use-flurry-cache = []
use-shared-search-pool = []
default = ["use-shared-search-pool"]
# default = ["use-flurry-cache", "use-shared-search-pool"]
[profile.relwithdebinfo]
inherits = "release"
debug = true