Cargo Features
HDI has no features set by default.
[dependencies]
hdi = { version = "0.8.0-dev.4", features = ["trace", "unstable-functions", "fuzzing", "mock", "test_utils"] }
- trace = tracing, tracing-core
-
Enables tracing of holochain_integrity_types
it's important that we depend on holochain_integrity_types with no default features, both here AND in hdk_derive, to reduce code bloat
Affects
hdi::trace,map_extern::make_subscriber… - unstable-functions
- fuzzing
-
Enables fuzzing of holochain_integrity_types
- mock
-
Enables mockall ^0.13
- test_utils
-
Enables fuzzing and test_utils of holochain_integrity_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