Cargo Features

[dependencies]
hope_core = { version = "2.5.0", default-features = false, features = ["full", "memory-nonce-store", "rocksdb-nonce-store", "redis-nonce-store", "hsm-support", "tee-support", "python-bindings", "all-backends"] }
default = memory-nonce-store

The memory-nonce-store feature is set by default whenever hope_core is added without default-features = false somewhere in the dependency tree.

full = all-backends, python-bindings
memory-nonce-store default
rocksdb-nonce-store all-backends? = rocksdb

Affects nonce_store::RocksDbNonceStore

redis-nonce-store all-backends? = redis

Affects nonce_store::RedisNonceStore

hsm-support all-backends? = cryptoki

Affects hope_core::crypto_hsm

tee-support all-backends? = sgx_types

Affects crypto::TeeConfig, hope_core::crypto_tee

python-bindings full? = pyo3

Affects hope_core::python

all-backends full? = hsm-support, redis-nonce-store, rocksdb-nonce-store, tee-support

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.

rocksdb rocksdb-nonce-store?

Enables rocksdb ^0.22

v1.4.0: Persistent Nonce Store (optional backends)

redis redis-nonce-store?

Enables redis ^0.25

cryptoki hsm-support?

Enables cryptoki ^0.6

v1.4.0: HSM Support (PKCS#11 integration)

sgx_types tee-support?

Enables sgx_types

v1.4.0: TEE Support (Intel SGX / ARM TrustZone)
Note: Full SGX requires Intel SGX SDK and specific build environment For now, we provide the trait interface and software fallback

pyo3 python-bindings?

Enables pyo3 ^0.24.1

v1.5.0: Python Bindings (PyO3)