Source code

Revision control

Copy as Markdown

Other Tools

# 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"
rust-version = "1.70"
name = "serde_with_macros"
version = "3.12.0"
authors = ["Jonas Bushart"]
build = false
include = [
"src/**/*",
"tests/**/*",
"!tests/compile-fail/**",
"LICENSE-*",
"README.md",
"CHANGELOG.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "proc-macro library for serde_with"
readme = "README.md"
keywords = [
"serde",
"utilities",
"serialization",
"deserialization",
]
categories = ["encoding"]
license = "MIT OR Apache-2.0"
[package.metadata.docs.rs]
all-features = true
[package.metadata.release]
tag = false
[[package.metadata.release.pre-release-replacements]]
file = "CHANGELOG.md"
replace = """
[Unreleased]
## [{{version}}] - {{date}}"""
search = '\[Unreleased\]'
[[package.metadata.release.pre-release-replacements]]
file = "src/lib.rs"
[[package.metadata.release.pre-release-replacements]]
file = "src/lib.rs"
[lib]
name = "serde_with_macros"
path = "src/lib.rs"
proc-macro = true
[[test]]
name = "apply"
path = "tests/apply.rs"
[[test]]
name = "compiler-messages"
path = "tests/compiler-messages.rs"
[[test]]
name = "serde_as_issue_267"
path = "tests/serde_as_issue_267.rs"
[[test]]
name = "serde_as_issue_538"
path = "tests/serde_as_issue_538.rs"
[[test]]
name = "skip_serializing_null"
path = "tests/skip_serializing_null.rs"
[[test]]
name = "version_numbers"
path = "tests/version_numbers.rs"
[dependencies.darling]
version = "0.20.0"
[dependencies.proc-macro2]
version = "1.0.1"
[dependencies.quote]
version = "1.0.0"
[dependencies.syn]
version = "2.0.0"
features = [
"extra-traits",
"full",
"parsing",
]
[dev-dependencies.expect-test]
version = "1.5.0"
[dev-dependencies.pretty_assertions]
version = "1.4.0"
[dev-dependencies.rustversion]
version = "1.0.0"
[dev-dependencies.serde]
version = "1.0.152"
features = ["derive"]
[dev-dependencies.serde_json]
version = "1.0.25"
[dev-dependencies.trybuild]
version = "1.0.80"
[dev-dependencies.version-sync]
version = "0.9.1"
[features]
schemars_0_8 = []
[badges.maintenance]
status = "actively-developed"
[lints.clippy]
cloned_instead_of_copied = "warn"
default_trait_access = "warn"
doc_markdown = "warn"
explicit_auto_deref = "allow"
manual-unwrap-or-default = "allow"
redundant_closure_for_method_calls = "warn"
semicolon_if_nothing_returned = "warn"
[lints.rust]
missing_docs = "warn"
trivial_casts = "warn"
trivial_numeric_casts = "warn"
unused_extern_crates = "warn"
unused_import_braces = "warn"
variant_size_differences = "warn"
[lints.rust.rust_2018_idioms]
level = "warn"
priority = -1
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = [
"cfg(tarpaulin)",
"cfg(tarpaulin_include)",
]
[lints.rustdoc]
missing_crate_level_docs = "warn"