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