forked from vigna/webgraph-rs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
69 lines (61 loc) · 2.17 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
[package]
name = "webgraph"
version = "0.1.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
[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.4.1"
dsi-bitstream = "0.4.0"
dsi-progress-logger = "0.2.4"
log = "0.4.20"
rand = { version = "0.8.5", features = ["small_rng"] }
rayon = "1.8.1"
tempfile = "3.5.0"
bytemuck = "1.14.0"
libc = "0.2.147"
itertools = "0.12.0"
lender = "0.2.9"
common_traits = "0.10.0"
impl-tools = "0.10.0"
bitflags = "2.4.2"
dary_heap = "0.3.6"
rdst = { version ="0.20.12", features = ["multi-threaded"] }
sealed = "0.5.0"
# Cli
clap = { version = "4.4.18", features = ["derive", "string"], optional = true }
clap_complete = {version = "4.4.10", optional = true}
env_logger = {version = "0.11.0", optional = true}
# Fuzzing deps
arbitrary = { version = "1.3.2", features = ["derive"], optional = true }
zip = {version="0.6.6", optional=true}
predicates = "3.1.0"
sysinfo = "0.30.8"
[build-dependencies]
built = { version = "0.7", features= ["chrono", "git2"] }
[profile.release] # Used for the examples
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"