sux 0.11.1

A pure Rust implementation of succinct and compressed data structures
Documentation
# 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 = "2024"
rust-version = "1.85"
name = "sux"
version = "0.11.1"
authors = [
    "Tommaso Fontana <tommaso.fontana.96@gmail.com>",
    "Sebastiano Vigna <sebastiano.vigna@unimi.it>",
]
build = false
autolib = 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/"
resolver = "2"

[features]
aarch64_prefetch = []
clap = ["dep:clap"]
cli = [
    "clap",
    "dep:epserde",
    "dep:deko",
]
default = [
    "rayon",
    "flate2",
    "zstd",
]
deko = ["dep:deko"]
epserde = ["dep:epserde"]
flate2 = ["dep:flate2"]
fuzz = ["dep:arbitrary"]
mmap = ["epserde/mmap"]
mwhc = []
no_logging = []
rayon = ["dep:rayon"]
serde = ["dep:serde"]
slow_tests = []
zstd = ["dep:zstd"]

[lib]
name = "sux"
path = "src/lib.rs"
bench = false

[[bin]]
name = "mem_usage"
path = "src/bin/mem_usage.rs"
required-features = ["cli"]

[[bin]]
name = "mrcl"
path = "src/bin/mrcl.rs"
required-features = [
    "cli",
    "epserde",
]

[[bin]]
name = "rcl"
path = "src/bin/rcl.rs"
required-features = [
    "cli",
    "epserde",
    "deko",
]

[[bin]]
name = "vfilter"
path = "src/bin/vfilter.rs"
required-features = [
    "cli",
    "epserde",
    "deko",
    "rayon",
]

[[bin]]
name = "vfunc"
path = "src/bin/vfunc.rs"
required-features = [
    "cli",
    "epserde",
    "deko",
    "rayon",
]

[[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"]

[[example]]
name = "bench_vfilter"
path = "examples/bench_vfilter.rs"
required-features = [
    "epserde",
    "clap",
]

[[example]]
name = "bench_vfunc"
path = "examples/bench_vfunc.rs"
required-features = [
    "epserde",
    "clap",
]

[[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_fair_chunks"
path = "tests/test_fair_chunks.rs"

[[test]]
name = "test_indexed_dict"
path = "tests/test_indexed_dict.rs"

[[test]]
name = "test_lenders"
path = "tests/test_lenders.rs"

[[test]]
name = "test_mapped_rear_coded_list"
path = "tests/test_mapped_rear_coded_list.rs"

[[test]]
name = "test_partial_array"
path = "tests/test_partial_array.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"

[[test]]
name = "test_signed_vfunc"
path = "tests/test_signed_vfunc.rs"

[[test]]
name = "test_slice_seq"
path = "tests/test_slice_seq.rs"

[[test]]
name = "test_traits"
path = "tests/test_traits.rs"

[[test]]
name = "test_vfunc"
path = "tests/test_vfunc.rs"

[[bench]]
name = "sux"
path = "benches/sux/main.rs"
harness = false

[dependencies.ambassador]
version = "0.5.0"

[dependencies.anyhow]
version = "1.0.79"

[dependencies.arbitrary]
version = "1.3.2"
features = ["derive"]
optional = true

[dependencies.arbitrary-chunks]
version = "0.4.1"

[dependencies.bitflags]
version = "2.4.2"

[dependencies.clap]
version = "4.4.18"
features = ["derive"]
optional = true

[dependencies.common_traits]
version = "0.12.0"

[dependencies.crossbeam-channel]
version = "0.5.14"

[dependencies.deko]
version = "0.6.0"
optional = true

[dependencies.derivative]
version = "2.2.0"

[dependencies.derive_setters]
version = "0.1.6"

[dependencies.dsi-progress-logger]
version = "0.8.1"

[dependencies.env_logger]
version = "0.11.0"

[dependencies.epserde]
version = "0.11.5"
optional = true

[dependencies.fallible-iterator]
version = "0.3.0"

[dependencies.flate2]
version = "1.0.28"
optional = true

[dependencies.impl-tools]
version = "0.11.2"

[dependencies.itertools]
version = "0.14.0"

[dependencies.jiff]
version = "0.2.15"

[dependencies.lambert_w]
version = "1.0.17"
features = ["std"]
default-features = false

[dependencies.lender]
version = "0.5.0"

[dependencies.libc]
version = "0.2.147"

[dependencies.log]
version = "0.4.20"

[dependencies.mem_dbg]
version = "0.3.0"

[dependencies.rand]
version = "0.10.0"

[dependencies.rayon]
version = "1.8.1"
optional = true

[dependencies.rdst]
version = "0.20.12"

[dependencies.serde]
version = "1.0.225"
features = ["derive"]
optional = true

[dependencies.tempfile]
version = "3.9.0"

[dependencies.thiserror]
version = "2.0.11"

[dependencies.thread-priority]
version = "3.0.0"

[dependencies.value-traits]
version = "0.2.0"

[dependencies.xxhash-rust]
version = "0.8.15"
features = ["xxh3"]

[dependencies.zerocopy]
version = "0.8.27"
features = ["derive"]

[dependencies.zstd]
version = "0.13.1"
optional = true

[dev-dependencies.clap]
version = "4.4.18"
features = ["derive"]

[dev-dependencies.criterion]
version = "0.8.1"
features = ["html_reports"]

[profile.bench]
opt-level = 3
lto = "fat"
codegen-units = 1
debug = 0
debug-assertions = false
overflow-checks = false

[profile.release]
opt-level = 3
debug = 2
debug-assertions = false
overflow-checks = false