Cargo Features

[dependencies]
pink-erased-serde = { version = "0.3.23", default-features = false, features = ["std", "alloc", "unstable-debug"] }
default = std

Note: at least one of "std" or "alloc" must be enabled.

std default

Enables std of serde

serde:

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

Affects de::Visitor.erased_visit_string, de::Visitor.erased_visit_byte_buf

alloc

requires Rust 1.36+

Enables alloc of serde

Affects de::Visitor.erased_visit_string, de::Visitor.erased_visit_byte_buf

unstable-debug