Cargo Features

HolochainP2p has no features set by default.

[dependencies]
holochain_p2p = { version = "0.5.0-dev.6", features = ["mock_network", "sqlite-encrypted", "sqlite", "test_utils", "instrument"] }
mock_network = test_utils

Enables mock_network of kitsune_p2p

sqlite-encrypted

Enables sqlite-encrypted of holo_hash, holochain_keystore, kitsune_p2p, and kitsune_p2p_types

sqlite

Enables sqlite of holo_hash, holochain_keystore, kitsune_p2p, and kitsune_p2p_types

test_utils mock_network?

Enables fixturators and test_utils of holochain_zome_types, test_utils of kitsune_p2p, test_utils of ghost_actor ^0.3.0-alpha.6 and holochain_types

instrument

Enables tracing instrumentation
(we experience segfaults in some tests if there is too much instrumentation)

Features from optional dependencies

reminder - do not use workspace deps