Cargo Features

HDK has no features set by default.

[dependencies]
hdk = { version = "0.5.0-dev.6", features = ["encoding", "fixturators", "properties", "unstable-functions", "unstable-countersigning", "mock", "test_utils", "fuzzing"] }
encoding

Enables encoding of holo_hash

fixturators test_utils?

Enables fixturators of holo_hash and holochain_zome_types

holochain_zome_types:

it's important that we depend on holochain_zome_types with no default features, both here AND in hdk_derive, to reduce code bloat

properties

Enables properties of holochain_zome_types

unstable-functions

Enables unstable-functions of hdi and holochain_zome_types

Affects agent::get_agent_key_lineage, hdk::HdkT.get_agent_key_lineage, hdk::HdkT.block_agent, hdk::HdkT.unblock_agent, hdk::HdkT.schedule, time::schedule

unstable-countersigning

Enables unstable-countersigning of holochain_zome_types

Affects hdk::HdkT.accept_countersigning_preflight_request, hdk::countersigning

mock = mockall

Enables mock of hdk_derive

test_utils = fixturators

Enables test_utils of hdi and holo_hash

fuzzing

Enables fuzzing of holo_hash and holochain_zome_types

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

reminder - do not use workspace deps

mockall mock?

Enables mockall ^0.11.3