103 lines
2.2 KiB
TOML
103 lines
2.2 KiB
TOML
# 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.61"
|
|
name = "erased-serde"
|
|
version = "0.4.8"
|
|
authors = ["David Tolnay <dtolnay@gmail.com>"]
|
|
build = "build.rs"
|
|
exclude = ["benches"]
|
|
autolib = false
|
|
autobins = false
|
|
autoexamples = false
|
|
autotests = false
|
|
autobenches = false
|
|
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]
|
|
targets = ["x86_64-unknown-linux-gnu"]
|
|
rustdoc-args = [
|
|
"--generate-link-to-definition",
|
|
"--extern-html-root-url=core=https://doc.rust-lang.org",
|
|
"--extern-html-root-url=alloc=https://doc.rust-lang.org",
|
|
"--extern-html-root-url=std=https://doc.rust-lang.org",
|
|
]
|
|
|
|
[features]
|
|
alloc = ["serde_core/alloc"]
|
|
default = ["std"]
|
|
std = [
|
|
"alloc",
|
|
"serde_core/std",
|
|
]
|
|
unstable-debug = []
|
|
|
|
[lib]
|
|
name = "erased_serde"
|
|
path = "src/lib.rs"
|
|
|
|
[[test]]
|
|
name = "compiletest"
|
|
path = "tests/compiletest.rs"
|
|
|
|
[[test]]
|
|
name = "test"
|
|
path = "tests/readme.rs"
|
|
|
|
[[test]]
|
|
name = "traitobject"
|
|
path = "tests/traitobject.rs"
|
|
|
|
[dependencies.serde_core]
|
|
version = "1.0.220"
|
|
default-features = false
|
|
|
|
[dependencies.typeid]
|
|
version = "1"
|
|
|
|
[dev-dependencies.rustversion]
|
|
version = "1.0.13"
|
|
|
|
[dev-dependencies.serde]
|
|
version = "1.0.220"
|
|
|
|
[dev-dependencies.serde_cbor]
|
|
version = "0.11.2"
|
|
|
|
[dev-dependencies.serde_derive]
|
|
version = "1.0.220"
|
|
|
|
[dev-dependencies.serde_json]
|
|
version = "1.0.99"
|
|
|
|
[dev-dependencies.trybuild]
|
|
version = "1.0.108"
|
|
features = ["diff"]
|
|
|
|
[target."cfg(any())".dependencies.serde]
|
|
version = "1.0.220"
|
|
default-features = false
|