-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
55 lines (44 loc) · 1.15 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
54
55
[package]
name = "timsquery"
version = "0.9.0"
edition = "2021"
license = "Apache-2.0"
[dependencies]
timsrust = "=0.4.1"
rayon = "1.5"
nohash-hasher = "=0.2.0"
indicatif = { version = "0.17.9", features = ["rayon"] }
clap = { version = "4.5.17", features = ["derive"], optional = true }
serde = { version = "1.0.204", features = ["derive"] }
serde_json = "1.0.122"
rmp-serde = "1.3.0"
tracing = { version = "0.1.40", features = ["log"] }
tracing-subscriber = { version = "0.3.18", features = [
"registry",
"env-filter",
] }
tracing-bunyan-formatter = "0.3.9"
tracing-chrome = "0.7.2"
# These are only used for benchmarks
rand = { version = "0.8.5", optional = true }
rand_chacha = { version = "0.3.1", optional = true }
tabled = "0.17.0"
[features]
clap = ["dep:clap"]
build-binary = ["clap"]
bench = ["dep:rand", "dep:rand_chacha"]
[[bin]]
name = "timsquery"
required-features = ["build-binary"]
[[bin]]
name = "benchmark_indices"
path = "benches/benchmark_indices.rs"
required-features = ["bench"]
[[bin]]
name = "benchmark_centroiding"
path = "benches/benchmark_centroiding.rs"
[profile.release]
opt-level = 3
lto = 'fat'
panic = 'abort'
codegen-units = 1