[package] name = "sux" authors = ["Tommaso Fontana ", "Sebastiano Vigna "] description = "A pure Rust implementation of succinct and compressed data structures" version = "0.4.6" 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"]