Cargo Features

[dependencies]
holo_hash = { version = "0.5.0-dev.3", default-features = false, features = ["full", "fixturators", "hashing", "serialization", "encoding", "holochain-wasmer", "sqlite-encrypted", "sqlite", "fuzzing", "test_utils", "tracing"] }
default = holochain-wasmer, serialization

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

full = encoding, fixturators, hashing, sqlite
fixturators full? test_utils? = encoding, fixt, hashing, rand

Affects holo_hash::fixt

hashing fixturators? full? = futures, must_future, serialization

Enables blake2b_simd

serialization default hashing? = holochain_serialized_bytes, serde, serde_bytes

Affects aliases::EntryHashes, holo_hash::HoloHashOf

encoding fixturators? full?

Enables base64, blake2b_simd, derive_more ^0.99, and sha2

Affects holo_hash::encode

holochain-wasmer default = holochain_wasmer_common
sqlite-encrypted = rusqlite

Enables sqlite-encrypted of kitsune_p2p_dht_arc, bundled-sqlcipher-vendored-openssl of rusqlite

sqlite full? = rusqlite

Enables sqlite of kitsune_p2p_dht_arc, bundled of rusqlite

fuzzing = arbitrary, proptest, proptest-derive

Enables fuzzing of optional holochain_serialized_bytes

test_utils = fixturators

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

fixt fixturators?
futures hashing?
holochain_serialized_bytes serialization
must_future hashing?
proptest-derive fuzzing?
rand fixturators?
rusqlite sqlite? sqlite-encrypted?
serde serialization
serde_bytes serialization
tracing implicit feature

Enables tracing

tracing:

Application-level tracing for Rust

holochain_wasmer_common holochain-wasmer
arbitrary fuzzing?
proptest fuzzing?