cachekit-core 0.1.0

LZ4 compression, xxHash3 integrity, AES-256-GCM encryption for byte payloads
Documentation
[build-dependencies.cbindgen]
version = "0.29"

[dependencies.byteorder]
version = "1.5"

[dependencies.bytes]
version = "1.5"

[dependencies.generic-array]
optional = true
version = "0.14"

[dependencies.hkdf]
optional = true
version = "0.12"

[dependencies.hmac]
optional = true
version = "0.12"

[dependencies.lz4_flex]
features = ["frame", "std"]
optional = true
version = "0.11"

[dependencies.ring]
optional = true
version = "0.17"

[dependencies.rmp-serde]
optional = true
version = "1.3"

[dependencies.serde]
features = ["derive"]
version = "1.0"

[dependencies.serde_bytes]
version = "0.11"

[dependencies.sha2]
optional = true
version = "0.10"

[dependencies.thiserror]
version = "1.0"

[dependencies.xxhash-rust]
features = ["xxh3"]
optional = true
version = "0.8"

[dependencies.zeroize]
features = ["derive"]
optional = true
version = "1.8"

[dev-dependencies.blake2]
version = "0.10"

[dev-dependencies.hex]
version = "0.4"

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

[dev-dependencies.serde_json]
version = "1.0"

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

[features]
checksum = ["dep:xxhash-rust"]
compression = ["dep:lz4_flex"]
default = ["compression", "checksum", "messagepack"]
encryption = ["dep:ring", "dep:zeroize", "dep:hkdf", "dep:sha2", "dep:hmac", "dep:generic-array"]
ffi = []
messagepack = ["dep:rmp-serde"]

[lib]
crate-type = ["cdylib", "rlib", "staticlib"]
name = "cachekit_core"
path = "src/lib.rs"

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

[package]
authors = ["cachekit Contributors"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = "build.rs"
categories = ["compression", "cryptography"]
description = "LZ4 compression, xxHash3 integrity, AES-256-GCM encryption for byte payloads"
documentation = "https://docs.rs/cachekit-core"
edition = "2024"
homepage = "https://github.com/cachekit-io/cachekit-core"
keywords = ["lz4", "xxhash", "aes-gcm", "encryption", "compression"]
license = "MIT"
name = "cachekit-core"
readme = "README.md"
repository = "https://github.com/cachekit-io/cachekit-core"
rust-version = "1.85"
version = "0.1.0"

[package.metadata.kani]
concrete-playback = "print"
default-unwind = 10
enable-unstable = false
output-format = "terse"
solver = "cadical"

[package.metadata.kani.unstable]
stubbing = false

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

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

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

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

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

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

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