Cargo Features

cstree has no features set by default.

[dependencies]
cstree = { version = "0.12.0", features = ["derive", "serialize", "lasso_compat", "multi_threaded_interning"] }
derive

Derive macro for Syntax

Enables cstree_derive

serialize = serde

Implementations of serde::{De,}Serialize for CSTrees.

Enables serialize of optional lasso and serde of triomphe

Arc

lasso_compat multi_threaded_interning? = lasso

Interoperability with the lasso interning crate. When enabled, cstree's default interners will use lasso internally, too.

multi_threaded_interning = lasso_compat

Additionally provide threadsafe interner types.
Where applicable (and if the corresponding features are selected), provide compatibility implementations for multi-thread interners from other crates.

Enables multi-threaded of lasso

Affects interning::new_threaded_interner

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 serialize?
lasso lasso_compat? multi_threaded_interning?