Cargo Features

[dependencies]
holochain_sqlite = { version = "0.6.0-dev.0", default-features = false, features = ["slow_tests", "test_utils", "sqlite-encrypted", "sqlite", "instrument", "holochain_util"] }
default = holochain_util, sqlite

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

slow_tests
test_utils

Affects access::set_acquire_timeout, pool::set_connection_timeout

sqlite-encrypted

Use at-rest encryption of databases

Enables bundled-sqlcipher-vendored-openssl of hc_r2d2_sqlite and rusqlite ^0.32.1, sqlite-encrypted of holo_hash, holochain_timestamp, and holochain_zome_types

Affects access::encrypt_unencrypted_database

sqlite default

Compile SQLite from source rather than depending on a library

Enables bundled of hc_r2d2_sqlite and rusqlite ^0.32.1, sqlite of holo_hash, holochain_timestamp, and holochain_zome_types

instrument

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

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

holochain_util default