Cargo Features

[dependencies]
binator = { version = "0.3.0", default-features = false, features = ["std", "alloc", "hashmap", "stack", "tree", "radix", "serde", "either", "tracing"] }
default = alloc, either, hashmap, radix, serde, stack, std, tracing, tree

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

Enables serde of smallvec

std default hashmap = alloc
alloc default std tree
hashmap default = std
stack default = smallvec
tree default = alloc, smallvec
radix default = num-traits
serde default

Enables serde

either default

Enables either

tracing default

Enables tracing

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.

num-traits radix
smallvec default stack tree