summaryrefslogtreecommitdiff
path: root/vendor/rustversion/Cargo.toml
blob: 34050aec38721f333e0db6dcb3ff2152d3b42ee5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2018"
rust-version = "1.31"
name = "rustversion"
version = "1.0.21"
authors = ["David Tolnay <dtolnay@gmail.com>"]
build = "build/build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Conditional compilation according to rustc compiler version"
documentation = "https://docs.rs/rustversion"
readme = "README.md"
categories = [
    "development-tools::build-utils",
    "no-std",
    "no-std::no-alloc",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/dtolnay/rustversion"

[package.metadata.docs.rs]
rustdoc-args = [
    "--generate-link-to-definition",
    "--extern-html-root-url=core=https://doc.rust-lang.org",
    "--extern-html-root-url=alloc=https://doc.rust-lang.org",
    "--extern-html-root-url=std=https://doc.rust-lang.org",
    "--extern-html-root-url=proc_macro=https://doc.rust-lang.org",
]
targets = ["x86_64-unknown-linux-gnu"]

[lib]
name = "rustversion"
path = "src/lib.rs"
proc-macro = true

[[test]]
name = "compiletest"
path = "tests/compiletest.rs"

[[test]]
name = "test_const"
path = "tests/test_const.rs"

[[test]]
name = "test_eval"
path = "tests/test_eval.rs"

[[test]]
name = "test_parse"
path = "tests/test_parse.rs"

[dev-dependencies.trybuild]
version = "1.0.49"
features = ["diff"]