[package]
edition = "2021"
name = "holochain_integrity_types"
version = "0.6.3"
authors = ["Holochain Core Dev Team <devcore@holochain.org>"]
build = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Holochain integrity types"
documentation = "https://docs.rs/holochain_integrity_types"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/holochain/holochain"
[lib]
name = "holochain_integrity_types"
path = "src/lib.rs"
[dependencies.derive_builder]
version = "0.20"
optional = true
[dependencies.holo_hash]
version = "^0.6.3"
features = ["encoding"]
[dependencies.holochain_secure_primitive]
version = "^0.6.3"
[dependencies.holochain_serialized_bytes]
version = "=0.0.57"
[dependencies.holochain_timestamp]
version = "^0.6.3"
default-features = false
[dependencies.holochain_util]
version = "^0.6.3"
default-features = false
[dependencies.proptest]
version = "1"
optional = true
[dependencies.proptest-derive]
version = "0"
optional = true
[dependencies.schemars]
version = "0.9"
optional = true
[dependencies.serde]
version = "1.0"
features = [
"derive",
"rc",
]
[dependencies.serde_bytes]
version = "0.11"
[dependencies.subtle]
version = "2"
[dependencies.subtle-encoding]
version = "0.5"
optional = true
[dependencies.tracing]
version = "0.1"
optional = true
[dev-dependencies.fixt]
version = "^0.6.3"
[dev-dependencies.serde_json]
version = "1.0"
[features]
default = []
full = [
"default",
"hashing",
"subtle-encoding",
"holochain_timestamp/now",
"schema",
]
full-dna-def = ["derive_builder"]
fuzzing = [
"proptest",
"proptest-derive",
"holochain_serialized_bytes/fuzzing",
"holo_hash/fuzzing",
]
hashing = ["holo_hash/hashing"]
schema = ["dep:schemars"]
test_utils = [
"full",
"holochain_timestamp/now",
"holo_hash/hashing",
"holo_hash/test_utils",
]
[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]
level = "warn"
priority = 0
check-cfg = [
"cfg(build_wasm)",
"cfg(loom)",
]