blob: 5addf9010a2dc2df8ffb6c1379a7fb6113155927 [file] [log] [blame]
Joel Galenson75ab7e12020-08-05 11:50:19 -07001[package]
2authors = ["The Rust Project Developers"]
3description = "Numeric syntax extensions"
4documentation = "https://docs.rs/num-derive"
5homepage = "https://github.com/rust-num/num-derive"
6keywords = ["mathematics", "numerics"]
7categories = [ "science" ]
Haibo Huangb858c522020-10-29 19:19:04 -07008license = "MIT OR Apache-2.0"
Joel Galenson75ab7e12020-08-05 11:50:19 -07009name = "num-derive"
10repository = "https://github.com/rust-num/num-derive"
Haibo Huangb858c522020-10-29 19:19:04 -070011version = "0.3.3"
Joel Galenson75ab7e12020-08-05 11:50:19 -070012readme = "README.md"
Haibo Huang71920952020-08-05 20:26:55 -070013exclude = ["/bors.toml", "/ci/*", "/.github/*"]
Joel Galenson75ab7e12020-08-05 11:50:19 -070014edition = "2018"
15
16[dependencies]
17proc-macro2 = "1"
18quote = "1"
19syn = "1"
20
21[dev-dependencies]
Haibo Huang71920952020-08-05 20:26:55 -070022num = "0.3"
Joel Galenson75ab7e12020-08-05 11:50:19 -070023num-traits = "0.2"
24
25[features]
26full-syntax = ["syn/full"]
27
28[lib]
29name = "num_derive"
30proc-macro = true
31test = 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]]
37name = "newtype-2015"
38edition = "2015"
39
40[[test]]
41name = "trivial-2015"
42edition = "2015"