# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "model-mapper" version = "0.5.0" build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Derive macro to map between different types" readme = "README.md" keywords = [ "model", "entity", "mapper", "from", "into", ] categories = [ "development-tools", "rust-patterns", "no-std", ] license = "Apache-2.0" repository = "https://github.com/lasantosr/model-mapper" [lib] name = "model_mapper" path = "src/lib.rs" [[example]] name = "additional_fields" path = "examples/additional_fields.rs" [[example]] name = "complex" path = "examples/complex.rs" [[example]] name = "different_types" path = "examples/different_types.rs" required-features = [ "chrono", "serde", ] [[example]] name = "exact_match" path = "examples/exact_match.rs" [[example]] name = "ignore_extra_fields" path = "examples/ignore_extra_fields.rs" [[example]] name = "multiple_derives" path = "examples/multiple_derives.rs" [[example]] name = "no_std" path = "examples/no_std.rs" [[example]] name = "renames" path = "examples/renames.rs" [[example]] name = "skipped_fields" path = "examples/skipped_fields.rs" [dependencies.anyhow] version = "1" optional = true [dependencies.chrono] version = "0.4" optional = true [dependencies.model-mapper-macros] version = "=0.5.0" [dependencies.serde] version = "1" optional = true [dependencies.serde_json] version = "1" optional = true [dev-dependencies.chrono] version = "0.4" [dev-dependencies.serde] version = "1" features = ["derive"] [features] chrono = [ "with", "dep:chrono", ] default = ["with"] serde = [ "with", "dep:serde", "dep:serde_json", ] std = [] with = [ "std", "dep:anyhow", ]