Cargo Features
Struson has no features set by default.
[dependencies]
struson = { version = "0.6.0", features = ["serde", "simple-api"] }
- serde
-
Optional Serde integration
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
… - simple-api
-
Optional simple JSON reader and writer API
Affects
reader::simple
,writer::simple
…