1[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" ]
8license = "MIT OR Apache-2.0"
9name = "num-derive"
10repository = "https://github.com/rust-num/num-derive"
11version = "0.4.2"
12readme = "README.md"
13exclude = ["/ci/*", "/.github/*"]
14edition = "2021"
15rust-version = "1.56.0"
16
17[dependencies]
18proc-macro2 = "1"
19quote = "1"
20syn = "2.0.5"
21
22[dev-dependencies]
23num = "0.4"
24num-traits = "0.2"
25
26[lib]
27name = "num_derive"
28proc-macro = true
29test = 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]]
35name = "newtype-2015"
36edition = "2015"
37
38[[test]]
39name = "newtype-2018"
40edition = "2018"
41
42[[test]]
43name = "trivial-2015"
44edition = "2015"
45
46[[test]]
47name = "trivial-2018"
48edition = "2018"
49