Documentation
[dependencies.hdk_derive]
version = "^0.7.0-dev.4"

[dependencies.holo_hash]
features = ["hashing"]
version = "^0.7.0-dev.3"

[dependencies.holochain_integrity_types]
default-features = false
version = "^0.7.0-dev.4"

[dependencies.holochain_serialized_bytes]
version = "=0.0.56"

[dependencies.holochain_serialized_bytes_derive]
version = "=0.0.56"

[dependencies.holochain_wasmer_guest]
version = "=0.0.101"

[dependencies.mockall]
optional = true
version = "0.13"

[dependencies.paste]
version = "1.0"

[dependencies.serde]
version = "1.0"

[dependencies.serde_bytes]
version = "0.11"

[dependencies.tracing]
optional = true
version = "0.1"

[dependencies.tracing-core]
optional = true
version = "0.1"

[dev-dependencies.test-case]
version = "3.3"

[features]
default = []
fuzzing = ["holochain_integrity_types/fuzzing"]
mock = ["dep:mockall"]
test_utils = ["holochain_integrity_types/fuzzing", "holochain_integrity_types/test_utils"]
trace = ["tracing", "tracing-core", "holochain_integrity_types/tracing"]
unstable-functions = []

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

[lints.clippy]
complexity = "deny"
correctness = "deny"
dbg_macro = "deny"
perf = "deny"
style = "deny"

[lints.clippy.cargo]
level = "allow"
priority = -1

[lints.clippy.nursery]
level = "allow"
priority = -1

[lints.clippy.pedantic]
level = "allow"
priority = -1

[lints.clippy.restriction]
level = "allow"
priority = -1

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

[package]
authors = ["Holochain Core Dev Team <devcore@holochain.org>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["cryptography"]
description = "The HDI"
documentation = "https://docs.rs/hdi"
edition = "2021"
keywords = ["holochain", "holo", "integrity"]
license = "CAL-1.0"
name = "hdi"
readme = "README.md"
repository = "https://github.com/holochain/holochain/tree/develop/crates/hdi"
version = "0.8.0-dev.4"

[target.'cfg(all(target_arch = "wasm32", target_os = "unknown"))'.dependencies.getrandom]
version = "0.3"

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