# 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 = "hdk"
version = "0.4.0-dev.15"
authors = ["Holochain Core Dev Team <devcore@holochain.org>"]
description = "The Holochain HDK"
homepage = "https://github.com/holochain/holochain/tree/develop/crates/hdk"
documentation = "https://docs.rs/hdk"
readme = "README.md"
keywords = [
    "holochain",
    "holo",
    "hdk",
]
categories = ["cryptography"]
license = "CAL-1.0"

[dependencies.hdi]
version = "=0.5.0-dev.13"
features = ["trace"]

[dependencies.hdk_derive]
version = "^0.4.0-dev.12"

[dependencies.holo_hash]
version = "^0.4.0-dev.11"

[dependencies.holochain_wasmer_guest]
version = "=0.0.95"

[dependencies.holochain_zome_types]
version = "^0.4.0-dev.15"
default-features = false

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

[dependencies.paste]
version = "1.0"

[dependencies.serde]
version = "1.0"

[dependencies.serde_bytes]
version = "0.11"

[dependencies.thiserror]
version = "1.0.22"

[dependencies.tracing]
version = "0.1"

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

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

[features]
default = []
encoding = ["holo_hash/encoding"]
fixturators = [
    "holochain_zome_types/fixturators",
    "holo_hash/fixturators",
]
fuzzing = [
    "holochain_zome_types/fuzzing",
    "holo_hash/fuzzing",
]
mock = [
    "hdk_derive/mock",
    "mockall",
]
properties = ["holochain_zome_types/properties"]
test_utils = [
    "fixturators",
    "hdi/test_utils",
    "holo_hash/test_utils",
]

[target."cfg(all(target_arch = \"wasm32\", target_os = \"unknown\"))".dependencies.getrandom]
version = "0.2"
features = ["custom"]

[lints.clippy]
cargo = "allow"
complexity = "deny"
correctness = "deny"
dbg_macro = "deny"
nursery = "allow"
pedantic = "allow"
perf = "deny"
restriction = "allow"
style = "deny"
