3 version = "1.0.10" # remember to update html_root_url
4 authors = ["Erick Tryzelaar <erick.tryzelaar@gmail.com>", "David Tolnay <dtolnay@gmail.com>"]
5 license = "MIT/Apache-2.0"
6 description = "A generic serialization/deserialization framework"
7 homepage = "https://serde.rs"
8 repository = "https://github.com/serde-rs/serde"
9 documentation = "https://docs.serde.rs/serde/"
10 keywords = ["serde", "serialization", "no_std"]
11 categories = ["encoding"]
13 include = ["Cargo.toml", "src/**/*.rs", "README.md", "LICENSE-APACHE", "LICENSE-MIT"]
16 travis-ci = { repository = "serde-rs/serde" }
17 appveyor = { repository = "serde-rs/serde" }
20 serde_derive = { version = "1.0", optional = true, path = "../serde_derive" }
23 serde_derive = { version = "1.0", path = "../serde_derive" }
26 ### FEATURES #################################################################
31 # Re-export the derive(Serialize, Deserialize) macros. This is specifically
32 # intended for library crates that provide optional Serde impls behind a Cargo
33 # cfg of their own. All other crates should depend on serde_derive directly.
35 # Please refer to the long comment above the line `pub use serde_derive::*` in
36 # src/lib.rs before enabling this feature. If you think you need this feature
37 # and your use case does not precisely match the one described in the comment,
38 # please open an issue to let us know about your use case.
39 derive = ["serde_derive"]
41 # Provide impls for common standard library types like Vec<T> and HashMap<K, V>.
42 # Requires a dependency on the Rust standard library.
45 # Provide impls for types that require unstable functionality. For tracking and
46 # discussion of unstable functionality please refer to this issue:
48 # https://github.com/serde-rs/serde/issues/812
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.
55 # Requires a dependency on the unstable core allocation library:
57 # https://doc.rust-lang.org/alloc/
60 # Opt into impls for Rc<T> and Arc<T>. Serializing and deserializing these types
61 # does not preserve identity and may result in multiple copies of the same data.
62 # Be sure that this is what you want before enabling this feature.
65 # Get serde_derive picked up by the Integer 32 playground. Not public API.
67 # http://play.integer32.com/
68 playground = ["serde_derive"]