Cargo Features

[dependencies]
grovedb = { version = "1.0.0-rc.1", default-features = false, features = ["full", "verify", "estimated_costs"] }
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? = bincode, grovedb-costs, grovedb-visualize, hex, indexmap, integer-encoding, intmap, itertools, nohash-hasher, tempfile, thiserror

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

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::Transaction, grovedb::TransactionArg, delete_up_tree::DeleteUpTreeOptions, delete::DeleteOptions, get::MAX_REFERENCE_HOPS, insert::InsertOptions

verify = bincode, grovedb-costs, integer-encoding, thiserror

Enables verify of grovedb-merk and derive of serde

serde:

Provide derive(Serialize, Deserialize) macros.

Affects element::ElementFlags, element::MaxReferenceHop, element::SUM_ITEM_COST_SIZE, element::SumValue, element::Element, error::Error, grovedb::element, grovedb::error, grovedb::operations, grovedb::query_result_type, grovedb::reference_path, util::EMPTY_TREE_HASH, util::ProofTokenType, util::ProofReader, util::reduce_limit_and_offset_by, util::ProvedPathKeyValue, verify::ProvedKeyValues, proof::util, proof::verify, operations::proof

estimated_costs = full

Affects batch::estimated_costs

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-merk full verify?
thiserror full verify?
tempfile full
bincode full verify?
serde full verify?
grovedb-storage full
grovedb-visualize full
hex full
itertools full

Enables itertools ^0.10.5

integer-encoding full verify?

Enables integer-encoding ^3.0.4

grovedb-costs full verify?
nohash-hasher full
indexmap full

Enables indexmap ^1.9.2

intmap full