1[package] 2name = "serde" 3version = "1.0.136" # remember to update html_root_url and serde_derive dependency 4authors = ["Erick Tryzelaar <erick.tryzelaar@gmail.com>", "David Tolnay <dtolnay@gmail.com>"] 5rust-version = "1.15" 6license = "MIT OR Apache-2.0" 7description = "A generic serialization/deserialization framework" 8homepage = "https://serde.rs" 9repository = "https://github.com/serde-rs/serde" 10documentation = "https://docs.serde.rs/serde/" 11keywords = ["serde", "serialization", "no_std"] 12categories = ["encoding"] 13readme = "crates-io.md" 14include = ["build.rs", "src/**/*.rs", "crates-io.md", "README.md", "LICENSE-APACHE", "LICENSE-MIT"] 15build = "build.rs" 16 17[dependencies] 18serde_derive = { version = "=1.0.136", optional = true, path = "../serde_derive" } 19 20[dev-dependencies] 21serde_derive = { version = "1.0", path = "../serde_derive" } 22 23[package.metadata.playground] 24features = ["derive", "rc"] 25 26[package.metadata.docs.rs] 27targets = ["x86_64-unknown-linux-gnu"] 28 29 30### FEATURES ################################################################# 31 32[features] 33default = ["std"] 34 35# Provide derive(Serialize, Deserialize) macros. 36derive = ["serde_derive"] 37 38# Provide impls for common standard library types like Vec<T> and HashMap<K, V>. 39# Requires a dependency on the Rust standard library. 40std = [] 41 42# Provide impls for types that require unstable functionality. For tracking and 43# discussion of unstable functionality please refer to this issue: 44# 45# https://github.com/serde-rs/serde/issues/812 46unstable = [] 47 48# Provide impls for types in the Rust core allocation and collections library 49# including String, Box<T>, Vec<T>, and Cow<T>. This is a subset of std but may 50# be enabled without depending on all of std. 51alloc = [] 52 53# Opt into impls for Rc<T> and Arc<T>. Serializing and deserializing these types 54# does not preserve identity and may result in multiple copies of the same data. 55# Be sure that this is what you want before enabling this feature. 56rc = [] 57