1 | [package] |
2 | name = "rustversion" |
3 | version = "1.0.14" |
4 | authors = ["David Tolnay <dtolnay@gmail.com>" ] |
5 | build = "build/build.rs" |
6 | categories = ["development-tools::build-utils" , "no-std" , "no-std::no-alloc" ] |
7 | description = "Conditional compilation according to rustc compiler version" |
8 | documentation = "https://docs.rs/rustversion" |
9 | edition = "2018" |
10 | license = "MIT OR Apache-2.0" |
11 | repository = "https://github.com/dtolnay/rustversion" |
12 | rust-version = "1.31" |
13 | |
14 | [lib] |
15 | proc-macro = true |
16 | |
17 | [dev-dependencies] |
18 | trybuild = { version = "1.0.49" , features = ["diff" ] } |
19 | |
20 | [package.metadata.docs.rs] |
21 | targets = ["x86_64-unknown-linux-gnu" ] |
22 | rustdoc-args = ["--generate-link-to-definition" ] |
23 | |