# 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" rust-version = "1.77" name = "pthash" version = "0.4.0" authors = ["Software Heritage developers "] description = "Rust bindings for PTHash" homepage = "https://gitlab.softwareheritage.org/swh/devel/pthash-rs" readme = "README.md" keywords = [ "hashing", "mph", "mphf", "dictionary", "map", ] categories = [ "compression", "api-bindings", "data-structures", ] license = "GPL-3.0-or-later" repository = "https://gitlab.softwareheritage.org/swh/devel/pthash-rs" [[example]] name = "example" required-features = ["check"] [dependencies.autocxx] version = "0.27.0" [dependencies.cxx] version = "1.0" [dependencies.log] version = "0.4.17" [dependencies.rand] version = "0.8.5" [dependencies.rayon] version = "1.9.0" optional = true [dependencies.sux] version = "0.3.1" optional = true [dependencies.thiserror] version = "1.0.48" optional = true [dev-dependencies.anyhow] version = "1.0.79" [dev-dependencies.rand] version = "0.8.5" [dev-dependencies.stderrlog] version = "0.5.4" [dev-dependencies.tempfile] version = "3.7.1" [build-dependencies.autocxx-build] version = "0.27.0" [build-dependencies.autocxx-engine] version = "0.27.0" [build-dependencies.cxx-build] version = "1.0" [build-dependencies.thiserror] version = "1.0.48" [features] check = [ "dep:sux", "dep:thiserror", ] default = [ "default_minimalities", "default_encoders", "default_hash_sizes", ] default_encoders = [ "dictionary_dictionary", "partitioned_compact", "elias_fano", ] default_hash_sizes = [ "hash64", "hash128", ] default_minimalities = [ "minimal", "nonminimal", ] dictionary_dictionary = [] elias_fano = [] hash128 = ["hash64"] hash64 = [] minimal = [] nonminimal = [] partitioned_compact = [] rayon = ["dep:rayon"]