# 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 = "qfilter"
version = "0.2.1"
authors = ["Arthur Silva <arthurprs@gmail.com>"]
build = false
exclude = [
    "fuzz",
    "benches",
]
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Efficient bloom filter like datastructure, based on the Rank Select Quotient Filter (RSQF)"
readme = "README.md"
keywords = [
    "rsqf",
    "cqf",
    "quotient-filter",
    "bloom-filter",
    "cuckoo-filter",
]
categories = ["data-structures"]
license = "MIT"
repository = "https://github.com/arthurprs/qfilter"

[package.metadata.docs.rs]
features = ["stats"]
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[profile.bench]
opt-level = 3
debug = 2

[lib]
name = "qfilter"
path = "src/lib.rs"

[dependencies.schemars]
version = "0.8"
optional = true

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

[dependencies.serde_bytes]
version = "0.11"
optional = true

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

[dev-dependencies.qfilter01]
version = "0.1"
features = ["serde"]
package = "qfilter"

[dev-dependencies.serde_cbor]
version = "0.11"

[features]
default = []
jsonschema = ["schemars"]
legacy_x86_64_support = []
serde = [
    "dep:serde",
    "dep:serde_bytes",
]

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(fuzzing)"]
