Cargo Features

HDK has no features set by default.

[dependencies]
hdk = { version = "0.3.0-beta-dev.41", features = ["encoding", "fixturators", "properties", "mock", "test_utils"] }
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

mock = mockall

Enables mock of hdk_derive

test_utils = fixturators

Enables test_utils of hdi and holo_hash

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