Cargo Features

[dependencies]
indexed-merkle-tree = { version = "0.6.2", default-features = false, features = ["std", "bls", "serde_json"] }
default = bls, std

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

std default bls

Enables std of borsh, hex, num, num-bigint, num-traits, and serde

serde:

Provide impls for common standard library types like Vec<T> and HashMap<K, V>.
Requires a dependency on the Rust standard library.

bls default = bls12_381, std

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.

serde_json implicit feature

Enables serde_json

serde_json:

A JSON serialization file format

bls12_381 bls