# 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 = "cnk"
version = "0.1.2"
authors = ["Arc <attobop@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "ID set compression primitives (delta+varint, Elias-Fano; bits-back ROC planned)"
readme = "README.md"
keywords = [
    "compression",
    "entropy",
    "inverted-index",
]
categories = [
    "compression",
    "algorithms",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/arclabs561/cnk"

[features]
ans = ["dep:ans"]
default = []
full = [
    "ans",
    "sbits",
]
sbits = ["dep:sbits"]

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

[[example]]
name = "compressed_postings"
path = "examples/compressed_postings.rs"

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

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

[dependencies.ans]
version = "0.1.0"
optional = true

[dependencies.crc32fast]
version = "1.4"

[dependencies.sbits]
version = "0.1.0"
optional = true

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

[dev-dependencies.postings]
version = "0.1"

[dev-dependencies.proptest]
version = "1.5"
