| 1 | [package] |
| 2 | name = "serde_derive" |
| 3 | version = "1.0.219" |
| 4 | authors = ["Erick Tryzelaar <erick.tryzelaar@gmail.com>" , "David Tolnay <dtolnay@gmail.com>" ] |
| 5 | categories = ["no-std" , "no-std::no-alloc" ] |
| 6 | description = "Macros 1.1 implementation of #[derive(Serialize, Deserialize)]" |
| 7 | documentation = "https://serde.rs/derive.html" |
| 8 | edition = "2015" |
| 9 | exclude = ["build.rs" ] |
| 10 | homepage = "https://serde.rs" |
| 11 | keywords = ["serde" , "serialization" , "no_std" , "derive" ] |
| 12 | license = "MIT OR Apache-2.0" |
| 13 | readme = "crates-io.md" |
| 14 | repository = "https://github.com/serde-rs/serde" |
| 15 | rust-version = "1.61" |
| 16 | |
| 17 | [features] |
| 18 | default = [] |
| 19 | deserialize_in_place = [] |
| 20 | |
| 21 | [lib] |
| 22 | name = "serde_derive" |
| 23 | proc-macro = true |
| 24 | |
| 25 | [dependencies] |
| 26 | proc-macro2 = { workspace = true, features = ["proc-macro" ] } |
| 27 | quote = { workspace = true, features = ["proc-macro" ] } |
| 28 | syn = { workspace = true, features = ["clone-impls" , "derive" , "parsing" , "printing" , "proc-macro" ] } |
| 29 | |
| 30 | [dev-dependencies] |
| 31 | serde = { version = "1" , path = "../serde" } |
| 32 | |
| 33 | [package.metadata.docs.rs] |
| 34 | targets = ["x86_64-unknown-linux-gnu" ] |
| 35 | rustdoc-args = [ |
| 36 | "--generate-link-to-definition" , |
| 37 | "--extern-html-root-url=core=https://doc.rust-lang.org" , |
| 38 | "--extern-html-root-url=alloc=https://doc.rust-lang.org" , |
| 39 | "--extern-html-root-url=std=https://doc.rust-lang.org" , |
| 40 | "--extern-html-root-url=proc_macro=https://doc.rust-lang.org" , |
| 41 | ] |
| 42 | |