# 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 = "2018" rust-version = "1.53" name = "serde_with" version = "1.14.0" authors = [ "Jonas Bushart", "Marcin Kaźmierczak", ] include = [ "src/**/*", "tests/**/*", "LICENSE-*", "README.md", "CHANGELOG.md", ] description = "Custom de/serialization functions for Rust's serde" documentation = "https://docs.rs/serde_with/" readme = "README.md" keywords = [ "serde", "utilities", "serialization", "deserialization", ] categories = ["encoding"] license = "MIT OR Apache-2.0" repository = "https://github.com/jonasbb/serde_with" resolver = "2" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg=docsrs", "-Zunstable-options", "--generate-link-to-definition", ] [[test]] name = "base64" path = "tests/base64.rs" required-features = [ "base64", "macros", ] [[test]] name = "chrono" path = "tests/chrono.rs" required-features = [ "chrono", "macros", ] [[test]] name = "hex" path = "tests/hex.rs" required-features = [ "hex", "macros", ] [[test]] name = "indexmap" path = "tests/indexmap.rs" required-features = [ "indexmap", "macros", ] [[test]] name = "json" path = "tests/json.rs" required-features = [ "json", "macros", ] [[test]] name = "serde_as" path = "tests/serde_as/lib.rs" required-features = ["macros"] [[test]] name = "time_0_3" path = "tests/time_0_3.rs" required-features = [ "macros", "time_0_3", ] [[test]] name = "derives" path = "tests/derives/lib.rs" required-features = ["macros"] [dependencies.base64_crate] version = "0.13.0" optional = true package = "base64" [dependencies.chrono_crate] version = "0.4.1" features = [ "clock", "serde", "std", ] optional = true default-features = false package = "chrono" [dependencies.doc-comment] version = "0.3.3" optional = true [dependencies.hex] version = "0.4.2" optional = true [dependencies.indexmap_crate] version = "1.8" features = ["serde-1"] optional = true package = "indexmap" [dependencies.serde] version = "1.0.122" features = ["derive"] [dependencies.serde_json] version = "1.0.1" optional = true [dependencies.serde_with_macros] version = "1.5.2" optional = true [dependencies.time_0_3] version = "~0.3" features = ["serde-well-known"] optional = true package = "time" [dev-dependencies.expect-test] version = "1.0.0" [dev-dependencies.fnv] version = "1.0.6" [dev-dependencies.glob] version = "0.3.0" [dev-dependencies.mime] version = "0.3.16" [dev-dependencies.pretty_assertions] version = "1.0.0" [dev-dependencies.regex] version = "1.3.9" features = ["std"] default-features = false [dev-dependencies.rmp-serde] version = "1.1.0" [dev-dependencies.ron] version = "0.7" [dev-dependencies.rustversion] version = "1.0.0" [dev-dependencies.serde-xml-rs] version = "0.5.0" [dev-dependencies.serde_json] version = "1.0.25" features = ["preserve_order"] [dev-dependencies.serde_test] version = "1.0.124" [dev-dependencies.serde_yaml] version = "0.8.21" [dev-dependencies.version-sync] version = "0.9.1" [features] base64 = ["base64_crate"] chrono = ["chrono_crate"] default = ["macros"] guide = [ "doc-comment", "macros", ] indexmap = ["indexmap_crate"] json = ["serde_json"] macros = ["serde_with_macros"] [badges.maintenance] status = "actively-developed"