Cargo Features

holochain_state has no features set by default.

[dependencies]
holochain_state = { version = "0.5.0-dev.6", features = ["instrument", "sqlite-encrypted", "sqlite", "unstable-warrants", "test_utils", "fuzzing"] }
default

Required for rusqlite::ToSql impl for TransferMethod

Enables sqlite of kitsune_p2p

instrument
sqlite-encrypted

Enables sqlite-encrypted of holo_hash, holochain_keystore, holochain_p2p, holochain_sqlite, holochain_types, holochain_zome_types, and kitsune_p2p

holochain_sqlite:

Use at-rest encryption of databases

sqlite

Enables sqlite of holo_hash, holochain_keystore, holochain_p2p, holochain_sqlite, holochain_types, holochain_zome_types, and kitsune_p2p

holochain_sqlite:

Compile SQLite from source rather than depending on a library

unstable-warrants

Affects mutations::insert_warrant

test_utils = base64, contrafact, nanoid, tempfile

Enables test_utils of holochain_chc, holochain_keystore, holochain_p2p, holochain_sqlite, holochain_types, and holochain_zome_types

Affects mutations::insert_op_untyped

fuzzing

Enables fuzzing of holochain_types and holochain_zome_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

tempfile test_utils?
base64 test_utils?
nanoid test_utils?
contrafact test_utils?