Cargo Features

Tree-DS has no features set by default.

[dependencies]
tree-ds = { version = "0.1.5", features = ["async", "serde", "auto_id", "no_std", "print_node_id", "compact_serde"] }
default

By default, the library has no features enabled.

async

The "async" feature enables the use of the library in asynchronous contexts.

Affects node::Node

serde no_std?

The "serde" feature enables serialization and deserialization of the library's types.

With std

auto_id

This feature enables the automatic generation of unique identifiers for nodes.

Enables sequential_gen, spin of lazy_static

Affects tree-ds::prelude.AutomatedId

no_std

The "no_std" feature enables the use of the library in no_std environments.

Enables spin_no_std of lazy_static, no_std of sequential_gen, alloc of serde

print_node_id

The "print_node_id" feature enables the printing of node identifiers in the Debug trait implementation of the Node struct.

compact_serde

The "compact_serde" feature enables the serialization of the library's types in a compact format.