| 1 | [package] |
| 2 | name = "rustversion" |
| 3 | version = "1.0.20" |
| 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 = [ |
| 23 | "--generate-link-to-definition" , |
| 24 | "--extern-html-root-url=core=https://doc.rust-lang.org" , |
| 25 | "--extern-html-root-url=alloc=https://doc.rust-lang.org" , |
| 26 | "--extern-html-root-url=std=https://doc.rust-lang.org" , |
| 27 | "--extern-html-root-url=proc_macro=https://doc.rust-lang.org" , |
| 28 | ] |
| 29 | |