Cargo Features
[dependencies]
jomini = { version = "0.27.2", default-features = false, features = ["derive", "json", "faster_writer"] }
- default = derive, faster_writer
-
These default features are set whenever
jomini
is added without
somewhere in the dependency tree.default-features = false - derive default = jomini_derive
-
serde:
Provide derive(Serialize, Deserialize) macros.
Affects
flavor::BinaryFlavor.deserializer
,flavor::BinaryFlavor.deserialize_slice
,flavor::BinaryFlavor.deserialize_reader
,binary::de
,text::de
… - json = serde, serde_json
-
Affects
jomini::json
…Required by the json binary
- faster_writer default
-
Enables itoa
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.