-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathCargo.toml
95 lines (84 loc) · 2.71 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
[package]
name = "webgraph"
version = "0.3.0"
edition = "2021"
description = "A Rust port of the WebGraph framework (http://webgraph.di.unimi.it/)."
repository = "https://github.com/vigna/webgraph-rs/"
license = "Apache-2.0 OR LGPL-2.1-or-later"
readme = "README.md"
keywords = ["graph", "compression", "codes", "webgraph"]
categories = ["compression", "data-structures"]
[features]
default = ["cli"]
cli = [
"dep:clap",
"dep:clap_complete",
"dep:env_logger",
] # Enable the compilation of the webgraph binary
slow_tests = [] # Test feature that enables long running tests
be_bins = [] # Enable read / write of only BE bvgraphs (to reduce code size)
le_bins = [] # Enable read / write of only LE bvgraphs (to reduce code size)
fuzz = [
"dep:arbitrary",
"dep:zip",
"dsi-bitstream/fuzz",
] # Expose the fuzzing harnesses
serde = ["dep:serde"]
[dependencies]
anyhow = { version = "1.0.79", features = ["backtrace"] }
java-properties = "2.0.0"
mmap-rs = "0.6.1"
num_cpus = "1.16.0"
epserde = "0.6.1"
sux = "0.5.0"
dsi-bitstream = "0.4.0"
dsi-progress-logger = "0.5.0"
log = "0.4.22"
rand = { version = "0.9.0", features = ["small_rng"] }
rayon = "1.10.0"
tempfile = "3.10.1"
bytemuck = "1.16.3"
libc = "0.2.155"
itertools = "0.14.0"
lender = "0.2.9"
common_traits = "0.11.2"
impl-tools = "0.10.0"
bitflags = "2.6.0"
dary_heap = "0.3.6"
rdst = { version = "0.20.14", features = ["multi-threaded"] }
sealed = "0.6.0"
serde = { version = "1.0.217", features = ["serde_derive"], optional = true }
crossbeam-channel = "0.5"
# Cli
clap = { version = "4.5.11", features = ["derive", "string"], optional = true }
clap_complete = { version = "4.4.11", optional = true }
env_logger = { version = "0.11.5", optional = true }
# Fuzzing deps
arbitrary = { version = "1.3.2", features = ["derive"], optional = true }
zip = { version = "2.1.5", optional = true }
predicates = "3.1.2"
sysinfo = "0.33.1"
sync-cell-slice = "0.9.9"
[dev-dependencies]
serde = "1.0.217"
serde_json = "1.0.137"
[build-dependencies]
built = { version = "0.7", features = ["git2"] }
chrono = "0.4.40"
[profile.release]
opt-level = 3 # like --release
lto = "fat" # Full LTO
overflow-checks = false # Disable integer overflow checks.
debug = true # Include debug info.
debug-assertions = false # Enables debug assertions.
codegen-units = 1 # slower compile times, but maybe better perf
[profile.bench]
opt-level = 3 # like --release
lto = "fat" # Full LTO
overflow-checks = false # Disable integer overflow checks.
debug = true # Include debug info.
debug-assertions = false # Enables debug assertions.
codegen-units = 1 # slower compile times, but maybe better perf
[lib]
name = "webgraph"
path = "src/lib.rs"