| 1 | [package] |
| 2 | name = "serde_repr" |
| 3 | version = "0.1.20" |
| 4 | authors = ["David Tolnay <dtolnay@gmail.com>" ] |
| 5 | categories = ["encoding" , "no-std" , "no-std::no-alloc" ] |
| 6 | description = "Derive Serialize and Deserialize that delegates to the underlying repr of a C-like enum." |
| 7 | documentation = "https://docs.rs/serde_repr" |
| 8 | edition = "2021" |
| 9 | keywords = ["serde" , "serialization" , "integer" ] |
| 10 | license = "MIT OR Apache-2.0" |
| 11 | repository = "https://github.com/dtolnay/serde-repr" |
| 12 | rust-version = "1.56" |
| 13 | |
| 14 | [lib] |
| 15 | proc-macro = true |
| 16 | |
| 17 | [dependencies] |
| 18 | proc-macro2 = "1.0.74" |
| 19 | quote = "1.0.35" |
| 20 | syn = "2.0.46" |
| 21 | |
| 22 | [dev-dependencies] |
| 23 | rustversion = "1.0.13" |
| 24 | serde = "1.0.166" |
| 25 | serde_json = "1.0.100" |
| 26 | trybuild = { version = "1.0.81" , features = ["diff" ] } |
| 27 | |
| 28 | [package.metadata.docs.rs] |
| 29 | targets = ["x86_64-unknown-linux-gnu" ] |
| 30 | rustdoc-args = [ |
| 31 | "--generate-link-to-definition" , |
| 32 | "--extern-html-root-url=core=https://doc.rust-lang.org" , |
| 33 | "--extern-html-root-url=alloc=https://doc.rust-lang.org" , |
| 34 | "--extern-html-root-url=std=https://doc.rust-lang.org" , |
| 35 | "--extern-html-root-url=proc_macro=https://doc.rust-lang.org" , |
| 36 | ] |
| 37 | |