| 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 = "2021" |
| 14 |
rust-version = "1.56" |
| 15 |
name = "serde" |
| 16 |
version = "1.0.229" |
| 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.playground] |
| 45 |
features = [ |
| 46 |
"derive", |
| 47 |
"rc", |
| 48 |
] |
| 49 |
|
| 50 |
[package.metadata.docs.rs] |
| 51 |
features = [ |
| 52 |
"derive", |
| 53 |
"rc", |
| 54 |
"unstable", |
| 55 |
] |
| 56 |
targets = ["x86_64-unknown-linux-gnu"] |
| 57 |
rustdoc-args = [ |
| 58 |
"--generate-link-to-definition", |
| 59 |
"--generate-macro-expansion", |
| 60 |
"--extern-html-root-url=core=https://doc.rust-lang.org", |
| 61 |
"--extern-html-root-url=alloc=https://doc.rust-lang.org", |
| 62 |
"--extern-html-root-url=std=https://doc.rust-lang.org", |
| 63 |
] |
| 64 |
|
| 65 |
[features] |
| 66 |
alloc = ["serde_core/alloc"] |
| 67 |
default = ["std"] |
| 68 |
derive = ["serde_derive"] |
| 69 |
rc = ["serde_core/rc"] |
| 70 |
std = ["serde_core/std"] |
| 71 |
unstable = ["serde_core/unstable"] |
| 72 |
|
| 73 |
[lib] |
| 74 |
name = "serde" |
| 75 |
path = "src/lib.rs" |
| 76 |
|
| 77 |
[dependencies.serde_core] |
| 78 |
version = "=1.0.229" |
| 79 |
features = ["result"] |
| 80 |
default-features = false |
| 81 |
|
| 82 |
[dependencies.serde_derive] |
| 83 |
version = "1" |
| 84 |
optional = true |