Debian Codegraph @

third_party/rust/serde/Cargo.toml

raw
1 # THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
2 #
3 # When uploading crates to the registry Cargo will automatically
4 # "normalize" Cargo.toml files for maximal compatibility
5 # with all versions of Cargo and also rewrite `path` dependencies
6 # to registry (e.g., crates.io) dependencies.
7 #
8 # If you are reading this file be aware that the original Cargo.toml
9 # will likely look very different (and much more reasonable).
10 # See Cargo.toml.orig for the original contents.
11
12 [package]
13 edition = "2018"
14 rust-version = "1.31"
15 name = "serde"
16 version = "1.0.219"
17 authors = [
18 "Erick Tryzelaar <[email protected]>",
19 "David Tolnay <[email protected]>",
20 ]
21 build = "build.rs"
22 autolib = false
23 autobins = false
24 autoexamples = false
25 autotests = false
26 autobenches = false
27 description = "A generic serialization/deserialization framework"
28 homepage = "https://serde.rs"
29 documentation = "https://docs.rs/serde"
30 readme = "crates-io.md"
31 keywords = [
32 "serde",
33 "serialization",
34 "no_std",
35 ]
36 categories = [
37 "encoding",
38 "no-std",
39 "no-std::no-alloc",
40 ]
41 license = "MIT OR Apache-2.0"
42 repository = "https://github.com/serde-rs/serde"
43
44 [package.metadata.docs.rs]
45 features = [
46 "derive",
47 "rc",
48 "unstable",
49 ]
50 rustdoc-args = [
51 "--generate-link-to-definition",
52 "--extern-html-root-url=core=https://doc.rust-lang.org",
53 "--extern-html-root-url=alloc=https://doc.rust-lang.org",
54 "--extern-html-root-url=std=https://doc.rust-lang.org",
55 ]
56 targets = ["x86_64-unknown-linux-gnu"]
57
58 [package.metadata.playground]
59 features = [
60 "derive",
61 "rc",
62 ]
63
64 [features]
65 alloc = []
66 default = ["std"]
67 derive = ["serde_derive"]
68 rc = []
69 std = []
70 unstable = []
71
72 [lib]
73 name = "serde"
74 path = "src/lib.rs"
75
76 [dependencies.serde_derive]
77 version = "1"
78 optional = true
79
80 [dev-dependencies.serde_derive]
81 version = "1"
82
83 [target."cfg(any())".dependencies.serde_derive]
84 version = "=1.0.219"