Cargo Features

[dependencies]
lesbar = { version = "0.1.0", default-features = false, features = ["alloc", "serde"] }
default = alloc

The alloc feature is set by default whenever lesbar is added without default-features = false somewhere in the dependency tree.

alloc default

Enables alloc of lesbar-text, mitsein, and optional serde

serde:

Provide impls for types in the Rust core allocation and collections library including String, Box<T>, Vec<T>, and Cow<T>. This is a subset of std but may be enabled without depending on all of std.

serde

Enables serde and serde_derive, serde of mitsein

Lesbar has 3 features without comments.