Joel Galenson | 75ab7e1 | 2020-08-05 11:50:19 -0700 | [diff] [blame] | 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" ] |
Haibo Huang | b858c52 | 2020-10-29 19:19:04 -0700 | [diff] [blame] | 8 | license = "MIT OR Apache-2.0" |
Joel Galenson | 75ab7e1 | 2020-08-05 11:50:19 -0700 | [diff] [blame] | 9 | name = "num-derive" |
| 10 | repository = "https://github.com/rust-num/num-derive" |
Haibo Huang | b858c52 | 2020-10-29 19:19:04 -0700 | [diff] [blame] | 11 | version = "0.3.3" |
Joel Galenson | 75ab7e1 | 2020-08-05 11:50:19 -0700 | [diff] [blame] | 12 | readme = "README.md" |
Haibo Huang | 7192095 | 2020-08-05 20:26:55 -0700 | [diff] [blame] | 13 | exclude = ["/bors.toml", "/ci/*", "/.github/*"] |
Joel Galenson | 75ab7e1 | 2020-08-05 11:50:19 -0700 | [diff] [blame] | 14 | edition = "2018" |
| 15 | |
| 16 | [dependencies] |
| 17 | proc-macro2 = "1" |
| 18 | quote = "1" |
| 19 | syn = "1" |
| 20 | |
| 21 | [dev-dependencies] |
Haibo Huang | 7192095 | 2020-08-05 20:26:55 -0700 | [diff] [blame] | 22 | num = "0.3" |
Joel Galenson | 75ab7e1 | 2020-08-05 11:50:19 -0700 | [diff] [blame] | 23 | num-traits = "0.2" |
| 24 | |
| 25 | [features] |
| 26 | full-syntax = ["syn/full"] |
| 27 | |
| 28 | [lib] |
| 29 | name = "num_derive" |
| 30 | proc-macro = true |
| 31 | test = false |
| 32 | |
| 33 | # Most of the tests are left implicily detected, compiled for Rust 2018, |
| 34 | # but let's try a few of them with the old 2015 edition too. |
| 35 | |
| 36 | [[test]] |
| 37 | name = "newtype-2015" |
| 38 | edition = "2015" |
| 39 | |
| 40 | [[test]] |
| 41 | name = "trivial-2015" |
| 42 | edition = "2015" |