[package]
edition = "2024"
rust-version = "1.88"
name = "hide-object"
version = "0.10.0"
authors = ["HIDE contributors"]
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Sealed container encryption with authenticated streaming for HIDE. Experimental, unaudited."
homepage = "https://github.com/hide-protocol/hide"
documentation = "https://docs.rs/hide-object"
readme = "README.md"
keywords = [
"encryption",
"cryptography",
"post-quantum",
"hpke",
"ml-kem",
]
categories = ["cryptography"]
license = "Apache-2.0"
license-file = "LICENSE"
repository = "https://github.com/hide-protocol/hide"
[features]
test-vectors = ["hide-crypto/test-vectors"]
[lib]
name = "hide_object"
path = "src/lib.rs"
[[example]]
name = "differential_oracle"
path = "examples/differential_oracle.rs"
required-features = ["test-vectors"]
[[example]]
name = "generate_rejections"
path = "examples/generate_rejections.rs"
[[example]]
name = "generate_v1_vectors"
path = "examples/generate_v1_vectors.rs"
required-features = ["test-vectors"]
[[example]]
name = "generate_vectors"
path = "examples/generate_vectors.rs"
required-features = ["test-vectors"]
[[example]]
name = "throughput"
path = "examples/throughput.rs"
[[test]]
name = "properties"
path = "tests/properties.rs"
[[test]]
name = "signing"
path = "tests/signing.rs"
required-features = ["test-vectors"]
[[test]]
name = "vectors"
path = "tests/vectors.rs"
[dependencies.hide-crypto]
version = "0.10.0"
[dependencies.hide-format]
version = "0.10.0"
[dependencies.hide-sign]
version = "0.10.0"
[dependencies.thiserror]
version = "=2.0.21"
[dependencies.zeroize]
version = "=1.9.1"
features = ["derive"]
[dev-dependencies.proptest]
version = "=1.11.0"
[lints.clippy]
all = "warn"
[lints.clippy.chunks_exact_to_as_chunks]
level = "allow"
priority = 1
[lints.rust]
unsafe_code = "forbid"
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(fuzzing)"]