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 whenever model-mapper is added without default-features = false somewhere in the dependency tree.

std with

Requires a dependency on the Rust standard library

with default chrono? serde? = std

Includes some utils for with feature

Enables 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