cargo : serde @ 1.0.228
Cargo.toml.orig
63 lines · plain
[package]name = "serde"version = "1.0.228"authors = ["Erick Tryzelaar <erick.tryzelaar@gmail.com>", "David Tolnay <dtolnay@gmail.com>"]build = "build.rs"categories = ["encoding", "no-std", "no-std::no-alloc"]description = "A generic serialization/deserialization framework"documentation = "https://docs.rs/serde"edition = "2021"homepage = "https://serde.rs"keywords = ["serde", "serialization", "no_std"]license = "MIT OR Apache-2.0"readme = "crates-io.md"repository = "https://github.com/serde-rs/serde"rust-version = "1.56"[dependencies]serde_core = { version = "=1.0.228", path = "../serde_core", default-features = false, features = ["result"] }serde_derive = { version = "1", optional = true, path = "../serde_derive" }[package.metadata.playground]features = ["derive", "rc"][package.metadata.docs.rs]features = ["derive", "rc", "unstable"]targets = ["x86_64-unknown-linux-gnu"]rustdoc-args = [ "--generate-link-to-definition", "--generate-macro-expansion", "--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 #################################################################[features]default = ["std"]# Provide derive(Serialize, Deserialize) macros.derive = ["serde_derive"]# Provide impls for common standard library types like Vec<T> and HashMap<K, V>.# Requires a dependency on the Rust standard library.std = ["serde_core/std"]# Provide impls for types that require unstable functionality. For tracking and# discussion of unstable functionality please refer to this issue:## https://github.com/serde-rs/serde/issues/812unstable = ["serde_core/unstable"]# Provide impls for types in the Rust core allocation and collections library# including String, Box<T>, Vec<T>, and Cow<T>. This is a subset of std but may# be enabled without depending on all of std.alloc = ["serde_core/alloc"]# Opt into impls for Rc<T> and Arc<T>. Serializing and deserializing these types# does not preserve identity and may result in multiple copies of the same data.# Be sure that this is what you want before enabling this feature.rc = ["serde_core/rc"]