Cargo Features

[dependencies]
grovedb = { version = "2.1.0", default-features = false, features = ["full", "proof_debug", "serde", "visualize", "verify", "estimated_costs", "grovedbg"] }
default = full

The full feature is set by default whenever grovedb is added without default-features = false somewhere in the dependency tree.

full default estimated_costs? grovedbg? = grovedb-costs, integer-encoding, intmap, itertools, nohash-hasher, tempfile, thiserror, visualize

Enables full of grovedb-merk, rocksdb_storage of grovedb-storage

Affects batch_structure::OpsByPath, batch_structure::OpsByLevelPath, estimated_costs::average_case_costs, estimated_costs::worst_case_costs, estimated_costs::EstimatedCostsType, key_info::KeyInfo, mode::BatchRunMode, options::BatchApplyOptions, helpers::raw_decode, element::TREE_COST_SIZE, element::SUM_TREE_COST_SIZE, query::PathQueryPushArgs, query::ElementsIterator, grovedb::batch, grovedb::replication, grovedb::Transaction, grovedb::TransactionArg, delete_up_tree::DeleteUpTreeOptions, delete::ClearOptions, delete::DeleteOptions

proof_debug

Enables proof_debug of grovedb-merk

serde

Enables serde, serde of grovedb-merk and indexmap

visualize full = grovedb-visualize
verify = grovedb-costs, integer-encoding, thiserror

Enables verify of grovedb-merk

Affects element::ElementFlags, element::MaxReferenceHop, element::SUM_ITEM_COST_SIZE, element::SumValue, element::Element, query::QueryOptions, error::Error, grovedb::element, grovedb::error, grovedb::operations, grovedb::query_result_type, grovedb::reference_path, operations::proof, util::ProvedKeyValues, util::ProvedKeyOptionalValues, util::ProvedPathKeyValues, util::ProvedPathKeyOptionalValues, util::ProvedPathKeyOptionalValue, util::ProvedPathKeyValue, query::PathQuery

estimated_costs = full

Affects batch::estimated_costs

grovedbg = axum, full, grovedbg-types, tempfile, tokio, tokio-util, tower-http, zip-extensions

Enables grovedbg of grovedb-merk

Affects grovedb::debugger

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-costs full verify?
grovedbg-types grovedbg?
grovedb-merk full grovedbg? proof_debug? serde? verify?
grovedb-storage full
grovedb-visualize visualize?
axum grovedbg?
integer-encoding full verify?
intmap full
itertools full

Enables itertools ^0.12.1

nohash-hasher full
tempfile full grovedbg?
thiserror full verify?

Enables thiserror ^1.0.59

tokio-util grovedbg?
tokio grovedbg?
tower-http grovedbg?

Enables tower-http ^0.5.2

zip-extensions grovedbg?

Enables zip-extensions ^0.6.2