serde_with 3.6.1

Custom de/serialization functions for Rust's serde
Documentation
[[test]]
name = "base64"
path = "tests/base64.rs"
required-features = ["base64", "macros"]

[[test]]
name = "chrono_0_4"
path = "tests/chrono_0_4.rs"
required-features = ["chrono_0_4", "macros"]

[[test]]
name = "hex"
path = "tests/hex.rs"
required-features = ["hex", "macros"]

[[test]]
name = "hashbrown_0_14"
path = "tests/hashbrown_0_14.rs"
required-features = ["hashbrown_0_14", "macros"]

[[test]]
name = "indexmap_1"
path = "tests/indexmap_1.rs"
required-features = ["indexmap_1", "macros"]

[[test]]
name = "indexmap_2"
path = "tests/indexmap_2.rs"
required-features = ["indexmap_2", "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"]

[[test]]
name = "with_prefix"
path = "tests/with_prefix.rs"
required-features = ["macros"]

[[test]]
name = "rust"
path = "tests/rust.rs"
required-features = ["alloc"]

[[test]]
name = "schemars_0_8"
path = "tests/schemars_0_8.rs"
required-features = ["schemars_0_8"]
[badges.maintenance]
status = "actively-developed"
[dependencies.base64]
default-features = false
optional = true
version = "0.21.0"

[dependencies.chrono_0_4]
default-features = false
features = ["serde"]
optional = true
package = "chrono"
version = "0.4.20"

[dependencies.doc-comment]
optional = true
version = "0.3.3"

[dependencies.document-features]
optional = true
version = "0.2.7"

[dependencies.hashbrown_0_14]
default-features = false
features = ["serde"]
optional = true
package = "hashbrown"
version = "0.14.0"

[dependencies.hex]
default-features = false
optional = true
version = "0.4.3"

[dependencies.indexmap_1]
default-features = false
features = ["serde-1"]
optional = true
package = "indexmap"
version = "1.8"

[dependencies.indexmap_2]
default-features = false
features = ["serde"]
optional = true
package = "indexmap"
version = "2.0"

[dependencies.schemars_0_8]
default-features = false
optional = true
package = "schemars"
version = "0.8.16"

[dependencies.serde]
default-features = false
version = "1.0.152"

[dependencies.serde_derive]
version = "1.0.152"

[dependencies.serde_json]
default-features = false
optional = true
version = "1.0.45"

[dependencies.serde_with_macros]
optional = true
version = "=3.6.1"

[dependencies.time_0_3]
default-features = false
optional = true
package = "time"
version = "~0.3.11"
[dev-dependencies.expect-test]
version = "1.3.0"

[dev-dependencies.fnv]
version = "1.0.6"

[dev-dependencies.glob]
version = "0.3.0"

[dev-dependencies.jsonschema]
default-features = false
features = ["resolve-file"]
version = "0.17.1"

[dev-dependencies.mime]
version = "0.3.16"

[dev-dependencies.pretty_assertions]
version = "1.4.0"

[dev-dependencies.regex]
default-features = false
features = ["std"]
version = "1.10.3"

[dev-dependencies.rmp-serde]
version = "1.1.0"

[dev-dependencies.ron]
version = "0.8"

[dev-dependencies.rustversion]
version = "1.0.0"

[dev-dependencies.schemars_0_8]
package = "schemars"
version = "0.8.16"

[dev-dependencies.serde]
default-features = false
features = ["derive"]
version = "1.0.152"

[dev-dependencies.serde-xml-rs]
version = "0.6.0"

[dev-dependencies.serde_json]
features = ["preserve_order"]
version = "1.0.25"

[dev-dependencies.serde_test]
version = "1.0.124"

[dev-dependencies.serde_yaml]
version = "0.9.2"

[dev-dependencies.version-sync]
version = "0.9.1"

[dev-dependencies.xml-rs]
version = "=0.8.14"

[features]
alloc = ["serde/alloc", "base64?/alloc", "chrono_0_4?/alloc", "hex?/alloc", "serde_json?/alloc", "time_0_3?/alloc"]
base64 = ["dep:base64", "alloc"]
chrono = ["chrono_0_4"]
chrono_0_4 = ["dep:chrono_0_4"]
default = ["std", "macros"]
guide = ["dep:doc-comment", "dep:document-features", "macros", "std"]
hashbrown_0_14 = ["dep:hashbrown_0_14", "alloc"]
hex = ["dep:hex", "alloc"]
indexmap = ["indexmap_1"]
indexmap_1 = ["dep:indexmap_1", "alloc"]
indexmap_2 = ["dep:indexmap_2", "alloc"]
json = ["dep:serde_json", "alloc"]
macros = ["dep:serde_with_macros"]
schemars_0_8 = ["dep:schemars_0_8", "std", "serde_with_macros?/schemars_0_8"]
std = ["alloc", "serde/std", "chrono_0_4?/clock", "chrono_0_4?/std", "indexmap_1?/std", "indexmap_2?/std", "time_0_3?/serde-well-known", "time_0_3?/std"]
time_0_3 = ["dep:time_0_3"]
[lints.clippy]
cloned_instead_of_copied = "warn"
default_trait_access = "warn"
redundant_closure_for_method_calls = "warn"

[lints.rust]

[package]
authors = ["Jonas Bushart", "Marcin Kaźmierczak"]
categories = ["encoding", "no-std", "no-std::no-alloc"]
description = "Custom de/serialization functions for Rust's serde"
documentation = "https://docs.rs/serde_with/"
edition = "2021"
include = ["src/**/*", "tests/**/*", "LICENSE-*", "README.md", "CHANGELOG.md"]
keywords = ["serde", "utilities", "serialization", "deserialization"]
license = "MIT OR Apache-2.0"
name = "serde_with"
readme = "README.md"
repository = "https://github.com/jonasbb/serde_with/"
rust-version = "1.65"
version = "3.6.1"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg=docsrs", "-Zunstable-options", "--generate-link-to-definition"]

[package.metadata.release]
tag = true
tag-message = "{{crate_name}} v{{version}}"
tag-name = "v{{version}}"

[[package.metadata.release.pre-release-replacements]]
file = "CHANGELOG.md"
replace = "[Unreleased]\n\n## [{{version}}] - {{date}}"
search = "\\[Unreleased\\]"

[[package.metadata.release.pre-release-replacements]]
file = "src/lib.rs"
replace = "https://docs.rs/serde_with/{{version}}/"
search = "https://docs\\.rs/serde_with/[\\d.]+/"

[[package.metadata.release.pre-release-replacements]]
file = "README.md"
replace = "https://docs.rs/serde_with/{{version}}/"
search = "https://docs\\.rs/serde_with/[\\d.]+/"