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