Cargo Features

Struson has no features set by default.

[dependencies]
struson = { version = "0.5.0", features = ["experimental", "serde"] }
experimental

Feature for all experimental functionality of Struson which is likely going to change in the future, or might even be removed again Note: Might be better to use standard Rust attributes for this once they are available, see https://github.com/rust-lang/rfcs/issues/1491

Affects reader::simple, writer::simple

Features from optional dependencies

serde implicit feature

Enables serde

Serde is used for comparison in benchmarks and for tests

Affects struson::serde, reader::JsonReader.deserialize_next, simple::ValueReader.read_deserialize, writer::JsonWriter.serialize_value, simple::ValueWriter.write_serialize