blob: c327271c9898e6ab33a5d86a469545407997a668 [file] [log] [blame]
# 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.56"
name = "erased-serde"
version = "0.4.2"
authors = ["David Tolnay <dtolnay@gmail.com>"]
exclude = ["benches"]
description = "Type-erased Serialize and Serializer traits"
documentation = "https://docs.rs/erased-serde"
readme = "README.md"
keywords = [
"serde",
"erasure",
]
categories = [
"encoding",
"rust-patterns",
"no-std",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/dtolnay/erased-serde"
[package.metadata.docs.rs]
rustdoc-args = ["--generate-link-to-definition"]
targets = ["x86_64-unknown-linux-gnu"]
[lib]
doc-scrape-examples = false
[[test]]
name = "test"
path = "tests/readme.rs"
[dependencies.serde]
version = "1.0.194"
default-features = false
[dev-dependencies.rustversion]
version = "1.0.13"
[dev-dependencies.serde_cbor]
version = "0.11.2"
[dev-dependencies.serde_derive]
version = "1.0.194"
[dev-dependencies.serde_json]
version = "1.0.99"
[dev-dependencies.trybuild]
version = "1.0.83"
features = ["diff"]
[features]
alloc = ["serde/alloc"]
default = ["std"]
std = [
"alloc",
"serde/std",
]
unstable-debug = []