Debian Codegraph @

third_party/rust/rustversion/Cargo.toml

raw
1 # THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
2 #
3 # When uploading crates to the registry Cargo will automatically
4 # "normalize" Cargo.toml files for maximal compatibility
5 # with all versions of Cargo and also rewrite `path` dependencies
6 # to registry (e.g., crates.io) dependencies.
7 #
8 # If you are reading this file be aware that the original Cargo.toml
9 # will likely look very different (and much more reasonable).
10 # See Cargo.toml.orig for the original contents.
11
12 [package]
13 edition = "2018"
14 rust-version = "1.31"
15 name = "rustversion"
16 version = "1.0.19"
17 authors = ["David Tolnay <[email protected]>"]
18 build = "build/build.rs"
19 autolib = false
20 autobins = false
21 autoexamples = false
22 autotests = false
23 autobenches = false
24 description = "Conditional compilation according to rustc compiler version"
25 documentation = "https://docs.rs/rustversion"
26 readme = "README.md"
27 categories = [
28 "development-tools::build-utils",
29 "no-std",
30 "no-std::no-alloc",
31 ]
32 license = "MIT OR Apache-2.0"
33 repository = "https://github.com/dtolnay/rustversion"
34
35 [package.metadata.docs.rs]
36 rustdoc-args = ["--generate-link-to-definition"]
37 targets = ["x86_64-unknown-linux-gnu"]
38
39 [lib]
40 name = "rustversion"
41 path = "src/lib.rs"
42 proc-macro = true
43
44 [[test]]
45 name = "compiletest"
46 path = "tests/compiletest.rs"
47
48 [[test]]
49 name = "test_const"
50 path = "tests/test_const.rs"
51
52 [[test]]
53 name = "test_eval"
54 path = "tests/test_eval.rs"
55
56 [[test]]
57 name = "test_parse"
58 path = "tests/test_parse.rs"
59
60 [dev-dependencies.trybuild]
61 version = "1.0.49"
62 features = ["diff"]