| 1 | [package] |
| 2 | authors = ["The Rust Project Developers" ] |
| 3 | description = "Numeric syntax extensions" |
| 4 | documentation = "https://docs.rs/num-derive" |
| 5 | homepage = "https://github.com/rust-num/num-derive" |
| 6 | keywords = ["mathematics" , "numerics" ] |
| 7 | categories = [ "science" ] |
| 8 | license = "MIT OR Apache-2.0" |
| 9 | name = "num-derive" |
| 10 | repository = "https://github.com/rust-num/num-derive" |
| 11 | version = "0.4.2" |
| 12 | readme = "README.md" |
| 13 | exclude = ["/ci/*" , "/.github/*" ] |
| 14 | edition = "2021" |
| 15 | rust-version = "1.56.0" |
| 16 | |
| 17 | [dependencies] |
| 18 | proc-macro2 = "1" |
| 19 | quote = "1" |
| 20 | syn = "2.0.5" |
| 21 | |
| 22 | [dev-dependencies] |
| 23 | num = "0.4" |
| 24 | num-traits = "0.2" |
| 25 | |
| 26 | [lib] |
| 27 | name = "num_derive" |
| 28 | proc-macro = true |
| 29 | test = false |
| 30 | |
| 31 | # Most of the tests are left implicily detected, compiled for Rust 2021, |
| 32 | # but let's try a few of them with the older editions too. |
| 33 | |
| 34 | [[test]] |
| 35 | name = "newtype-2015" |
| 36 | edition = "2015" |
| 37 | |
| 38 | [[test]] |
| 39 | name = "newtype-2018" |
| 40 | edition = "2018" |
| 41 | |
| 42 | [[test]] |
| 43 | name = "trivial-2015" |
| 44 | edition = "2015" |
| 45 | |
| 46 | [[test]] |
| 47 | name = "trivial-2018" |
| 48 | edition = "2018" |
| 49 | |