Cargo Features
[dependencies]
grovedb-merk = { version = "2.2.1", default-features = false, features = ["full", "proof_debug", "serde", "minimal", "colored_debug", "verify", "grovedbg", "test_utils"] }
- default = full
-
The
full
feature is set by default whenevergrovedb-merk
is added without
somewhere in the dependency tree.default-features = false - full default grovedbg? = colored_debug, minimal, test_utils
- proof_debug
- serde
- minimal full = blake3, ed, grovedb-storage, num_cpus
-
Enables rocksdb_storage of grovedb-storage
Affects
average_case_costs::AverageKeySize
,average_case_costs::AverageValueSize
,average_case_costs::AverageFlagsSize
,average_case_costs::Weight
,average_case_costs::EstimatedSumTrees
,average_case_costs::EstimatedLayerSizes
,average_case_costs::ApproximateElementCount
,average_case_costs::EstimatedLevelNumber
,average_case_costs::EstimatedToBeEmpty
,average_case_costs::EstimatedLayerInformation
,average_case_costs::EstimatedLayerCount
,average_case_costs::add_average_case_get_merk_node
,average_case_costs::add_average_case_merk_has_value
,average_case_costs::add_average_case_merk_replace_layered
,average_case_costs::add_average_case_merk_delete_layered
,average_case_costs::add_average_case_merk_delete
,estimated_costs::average_case_costs
,estimated_costs::worst_case_costs
,estimated_costs::LAYER_COST_SIZE
,estimated_costs::SUM_LAYER_COST_SIZE
… - colored_debug full = colored
- verify = blake3, ed
-
Affects
error::Error
,estimated_costs::SUM_VALUE_EXTRA_COST
,grovedb-merk::proofs
,grovedb-merk::tree
,grovedb-merk::error
,grovedb-merk::estimated_costs
,encoding::Decoder
,proofs::encoding
,proofs::query
,proofs::tree
,proofs::Op
,proofs::Node
,common_path::CommonPathResult
,query::query_item
,query::Path
,query::Key
,query::PathKey
,query::SubqueryBranch
,query::Query
,query_item::QueryItem
… - grovedbg = full
-
Affects
grovedb-merk::debugger
… - test_utils full = rand
-
Affects
grovedb-merk::test_utils
…
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.
- grovedb-storage minimal?
- rand test_utils?
-
Enables rand ^0.8.5
- colored colored_debug?
- num_cpus minimal?
- blake3 minimal? verify?
- ed minimal? verify?
-
Enables ed ^0.2.2