# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "sux" version = "0.4.6" authors = [ "Tommaso Fontana ", "Sebastiano Vigna ", ] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "A pure Rust implementation of succinct and compressed data structures" readme = "README.md" keywords = [ "succinct", "rank", "select", ] categories = [ "compression", "data-structures", ] license = "Apache-2.0 OR LGPL-2.1-or-later" repository = "https://github.com/vigna/sux-rs/" [profile.release] opt-level = 3 lto = "fat" codegen-units = 1 debug = 2 debug-assertions = false overflow-checks = false [lib] name = "sux" path = "src/lib.rs" bench = false [[bin]] name = "mem_usage" path = "src/bin/mem_usage.rs" required-features = ["cli"] [[bin]] name = "rcl" path = "src/bin/rcl.rs" required-features = ["cli"] [[example]] name = "bench_bit_field_vec" path = "examples/bench_bit_field_vec.rs" required-features = ["cli"] [[example]] name = "bench_elias_fano" path = "examples/bench_elias_fano.rs" required-features = ["cli"] [[example]] name = "bench_rank9" path = "examples/bench_rank9.rs" required-features = ["cli"] [[example]] name = "bench_rear_coded_list" path = "examples/bench_rear_coded_list.rs" required-features = ["cli"] [[test]] name = "test_bit_field_slice" path = "tests/test_bit_field_slice.rs" [[test]] name = "test_bit_field_vec" path = "tests/test_bit_field_vec.rs" [[test]] name = "test_bit_vec" path = "tests/test_bit_vec.rs" [[test]] name = "test_elias_fano" path = "tests/test_elias_fano.rs" [[test]] name = "test_rank9" path = "tests/test_rank9.rs" [[test]] name = "test_rank_sel" path = "tests/test_rank_sel.rs" [[test]] name = "test_rank_small" path = "tests/test_rank_small.rs" [[test]] name = "test_rear_coded_list" path = "tests/test_rear_coded_list.rs" [[test]] name = "test_select9" path = "tests/test_select9.rs" [[test]] name = "test_select_adapt" path = "tests/test_select_adapt.rs" [[test]] name = "test_select_adapt_const" path = "tests/test_select_adapt_const.rs" [[test]] name = "test_select_small" path = "tests/test_select_small.rs" [[test]] name = "test_select_zero_adapt" path = "tests/test_select_zero_adapt.rs" [[test]] name = "test_select_zero_adapt_const" path = "tests/test_select_zero_adapt_const.rs" [[test]] name = "test_select_zero_small" path = "tests/test_select_zero_small.rs" [[bench]] name = "sux" path = "benches/sux/main.rs" harness = false required-features = ["cli"] [dependencies.ambassador] version = "0.4.0" [dependencies.anyhow] version = "1.0.79" [dependencies.arbitrary] version = "1.3.2" features = ["derive"] optional = true [dependencies.bitflags] version = "2.4.2" [dependencies.bytemuck] version = "1.14.0" [dependencies.clap] version = "4.4.18" features = ["derive"] optional = true [dependencies.common_traits] version = "0.11.0" [dependencies.core_affinity] version = "0.8.1" [dependencies.dsi-progress-logger] version = "0.2.2" [dependencies.env_logger] version = "0.11.0" [dependencies.epserde] version = "0.6.1" [dependencies.flate2] version = "1.0.28" [dependencies.impl-tools] version = "0.10.0" [dependencies.lender] version = "0.2.9" [dependencies.libc] version = "0.2.147" [dependencies.log] version = "0.4.20" [dependencies.mem_dbg] version = "0.2.4" [dependencies.mmap-rs] version = "0.6.1" [dependencies.num-traits] version = "0.2.15" [dependencies.num_cpus] version = "1.16.0" [dependencies.rand] version = "0.8.5" features = ["small_rng"] [dependencies.rayon] version = "1.8.1" optional = true [dependencies.rdst] version = "0.20.12" [dependencies.tempfile] version = "3.9.0" [dependencies.zstd] version = "0.13.1" [dev-dependencies.criterion] version = "0.5.1" features = ["html_reports"] [dev-dependencies.maligned] version = "0.2.1" [features] cli = ["dep:clap"] default = ["rayon"] fuzz = ["dep:arbitrary"] slow_tests = []