Cargo Features

[dependencies]
rsn = { version = "0.2.0", default-features = false, features = ["std", "integer128", "serde", "nightly"] }
default = serde, std

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

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 rsn::from_reader, rsn::to_writer

integer128
serde default std

Enables serde

Affects rsn::de, rsn::ser, rsn::from_str, rsn::from_slice, rsn::to_string, rsn::to_vec, rsn::to_string_pretty, rsn::from_reader, rsn::to_writer

nightly

Enables unstable documentation features outside of docs.rs