Cargo Features
subst has no features set by default.
[dependencies]
subst = { version = "0.3.7", features = ["indexmap", "json", "toml", "yaml", "preserve-order", "doc-cfg"] }
- indexmap
-
Implement
VariableMap
forindexmap::IndexMap
.Enables indexmap
- json
-
Enable support for performing substitution in all string values of a JSON document.
Enables serde and serde_json
Affects
features::json
… - toml
-
Enable support for performing substitution in all string values of a TOML document.
Affects
features::toml
… - yaml
-
Enable support for performing substitution in all string values of a YAML document.
Enables serde and serde_yaml
Affects
features::yaml
… - preserve-order
-
Preserve the order of fields in JSON objects and TOML tables (YAML always preserves the order).
Enables preserve_order of optional serde_json and optional toml
- doc-cfg
-
Enable #[doc(cfg...)] annotations for optional parts of the library (requires a nightly compiler).