Cargo Features
[dependencies]
model-mapper = { version = "0.5.0", default-features = false, features = ["std", "with", "chrono", "serde"] }
- default = with
-
The
with
feature is set by default whenevermodel-mapper
is added without
somewhere in the dependency tree.default-features = false - std with
-
Requires a dependency on the Rust standard library
- with default chrono? serde? = std
-
Includes some utils for
with
featureEnables anyhow
Affects
model-mapper::with
… - chrono = with
-
Includes mappers for chrono types
Enables chrono
Affects
with::with_chrono
… - serde = with
-
Includes mappers for serde types
Enables serde and serde_json
Affects
with::with_serde
…