Cargo Features
[dependencies]
holochain_zome_types = { version = "0.5.0-dev.4", default-features = false, features = ["full-dna-def", "full", "fixturators", "properties", "instrument", "sqlite-encrypted", "sqlite", "test_utils", "fuzzing"] }
- default full? = full-dna-def
-
The
full-dna-def
feature is set by default wheneverholochain_zome_types
is added without
somewhere in the dependency tree.default-features = false - full-dna-def default fixturators? test_utils? = derive_builder, kitsune_p2p_dht, nanoid, shrinkwraprs
-
Extra impls for DnaDef, including InlineZome, which are not used in Wasm but used in Holochain
Enables full-dna-def of holochain_integrity_types
Affects
dna_def::random_network_seed
,dna_def::DnaDefHashed
,zome::inline_zome
… - full = default, num_enum, properties, sqlite
-
Enables full of holochain_integrity_types and kitsune_p2p_timestamp
- fixturators = fixt, full-dna-def, rand, strum
-
Enables fixturators of holo_hash, test_utils of holochain_integrity_types
Affects
holochain_zome_types::fixt
… - properties full? = serde_yaml
-
Affects
clone::CreateCloneCellInput.modifiers
,holochain_zome_types::properties
… - instrument
- sqlite-encrypted = rusqlite
-
Enables sqlite-encrypted of holo_hash, kitsune_p2p_block, kitsune_p2p_dht, and kitsune_p2p_timestamp and bundled-sqlcipher-vendored-openssl of rusqlite
sqlite dependencies
- sqlite full? = rusqlite
-
Enables bundled of rusqlite, sqlite of holo_hash, kitsune_p2p_block, kitsune_p2p_dht, and kitsune_p2p_timestamp
- test_utils = full-dna-def, fuzzing, once_cell
-
Enables hashing and test_utils of holo_hash, test_utils of holochain_integrity_types, sqlite of kitsune_p2p_block
Affects
holochain_zome_types::test_utils
… - fuzzing test_utils? = arbitrary, contrafact, fixt, proptest, proptest-derive, rand
-
Enables fuzzing of holo_hash, holochain_integrity_types, holochain_serialized_bytes, and kitsune_p2p_timestamp
Affects
holochain_zome_types::facts
…
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
- kitsune_p2p_dht full-dna-def sqlite? sqlite-encrypted?
- serde_yaml properties?
- fixt fixturators? fuzzing?
-
Enables fixt
fixturator dependencies
- strum fixturators?
-
Enables strum ^0.18.0
- rand fixturators? fuzzing?
- rusqlite sqlite? sqlite-encrypted?
- num_enum full?
- derive_builder full-dna-def
-
Enables derive_builder
full-dna-def dependencies
- nanoid full-dna-def
- shrinkwraprs full-dna-def
- proptest-derive fuzzing?
- contrafact fuzzing?
- once_cell test_utils?
- arbitrary fuzzing?
-
Enables arbitrary
fuzzing
- proptest fuzzing?