Cargo Features

[dependencies]
jomini = { version = "0.27.0", default-features = false, features = ["derive", "json", "faster_writer"] }
default = derive, faster_writer

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

derive default = jomini_derive

Enables derive of serde

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.

serde derive json?
serde_json json?
jomini_derive derive