-
Notifications
You must be signed in to change notification settings - Fork 8
/
Cargo.toml
96 lines (81 loc) · 2.22 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
96
[package]
name = "sux"
authors = ["Tommaso Fontana <[email protected]>", "Sebastiano Vigna <[email protected]>"]
description = "A pure Rust implementation of succinct and compressed data structures"
version = "0.4.7"
edition = "2021"
repository = "https://github.com/vigna/sux-rs/"
license = "Apache-2.0 OR LGPL-2.1-or-later"
readme = "README.md"
categories = ["compression", "data-structures"]
keywords = ["succinct", "rank", "select"]
[dependencies]
anyhow = "1.0.79"
bitflags = "2.4.2"
bytemuck = "1.14.0"
common_traits = "0.11.0"
libc = "0.2.147"
log = "0.4.20"
num_cpus = "1.16.0"
num-traits = "0.2.15"
dsi-progress-logger = "0.2.2"
tempfile = "3.9.0"
lender = "0.2.9"
mmap-rs = "0.6.1"
epserde = "0.6.1"
zstd = { version = "0.13.1" }
flate2 = "1.0.28"
rand = {version="0.8.5", features=["small_rng"]}
rdst = "0.20.12"
mem_dbg = "0.2.4"
rayon = {version = "1.8.1", optional=true}
core_affinity = "0.8.1"
env_logger = {version = "0.11.0"}
ambassador = "0.4.0"
impl-tools = "0.10.0"
# Fuzz
arbitrary = { version = "1.3.2", features = ["derive"], optional=true }
# Cli
clap = { version = "4.4.18", features = ["derive"], optional=true }
[dev-dependencies]
maligned = "0.2.1"
criterion = { version = "0.5.1", features = ["html_reports"] }
[features]
default = ["rayon"]
cli = ["dep:clap"] # Build the binary utils
fuzz = ["dep:arbitrary"]
slow_tests = [] # Run slow tests (use --release)
[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
[lib]
bench = false
[[bin]]
name = "rcl"
required-features = ["cli"]
[[bin]]
name = "mem_usage"
required-features = ["cli"]
#[[bin]]
#name = "bench_like_cpp"
#required-features = ["cli"]
[[bench]]
name = "sux"
harness = false
required-features = ["cli"]
[[example]]
name = "bench_bit_field_vec"
required-features = ["cli"]
[[example]]
name = "bench_rank9"
required-features = ["cli"]
[[example]]
name = "bench_elias_fano"
required-features = ["cli"]
[[example]]
name = "bench_rear_coded_list"
required-features = ["cli"]