Cargo Features
HDI has no features set by default.
[dependencies]
hdi = { version = "0.6.0-dev.1", features = ["trace", "mock", "fuzzing", "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
… - mock = mockall
-
Enables mock of hdk_derive
- fuzzing
-
Enables fuzzing of holochain_integrity_types
- 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
- tracing trace?
- tracing-core trace?
- mockall mock?
-
Enables mockall ^0.11.3