Cargo Features

[dependencies]
holochain_zome_types = { version = "0.3.0-beta-dev.36", default-features = false, features = ["full-dna-def", "full", "fixturators", "properties", "sqlite-encrypted", "sqlite", "test_utils", "fuzzing", "subtle-encoding"] }
default full? = full-dna-def, subtle-encoding

These default features are set whenever holochain_zome_types is added without default-features = false somewhere in the dependency tree.

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

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 ^0.29

sqlite dependencies

sqlite full? = rusqlite

Enables bundled of rusqlite ^0.29, 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 =0.0.53, 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?

Enables rusqlite ^0.29

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?
subtle-encoding default

Enables subtle-encoding

for hex encoding of signatures

arbitrary fuzzing?

Enables arbitrary

fuzzing

proptest fuzzing?