• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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.3.3"
12readme = "README.md"
13exclude = ["/bors.toml", "/ci/*", "/.github/*"]
14edition = "2018"
15
16[dependencies]
17proc-macro2 = "1"
18quote = "1"
19syn = "1"
20
21[dev-dependencies]
22num = "0.3"
23num-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"
43