]> git.proxmox.com Git - rustc.git/blob - src/vendor/serde/Cargo.toml.orig
New upstream version 1.20.0+dfsg1
[rustc.git] / src / vendor / serde / Cargo.toml.orig
1 [package]
2 name = "serde"
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"]
12 readme = "README.md"
13 include = ["Cargo.toml", "src/**/*.rs", "README.md", "LICENSE-APACHE", "LICENSE-MIT"]
14
15 [badges]
16 travis-ci = { repository = "serde-rs/serde" }
17 appveyor = { repository = "serde-rs/serde" }
18
19 [dependencies]
20 serde_derive = { version = "1.0", optional = true, path = "../serde_derive" }
21
22 [dev-dependencies]
23 serde_derive = { version = "1.0", path = "../serde_derive" }
24
25
26 ### FEATURES #################################################################
27
28 [features]
29 default = ["std"]
30
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.
34 #
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"]
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.
43 std = []
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
49 unstable = []
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.
54 #
55 # Requires a dependency on the unstable core allocation library:
56 #
57 # https://doc.rust-lang.org/alloc/
58 alloc = ["unstable"]
59
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.
63 rc = []
64
65 # Get serde_derive picked up by the Integer 32 playground. Not public API.
66 #
67 # http://play.integer32.com/
68 playground = ["serde_derive"]