Debian Codegraph @

debian/rust-vendor/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.23"
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 targets = ["x86_64-unknown-linux-gnu"]
37 rustdoc-args = [
38 "--generate-link-to-definition",
39 "--generate-macro-expansion",
40 "--extern-html-root-url=core=https://doc.rust-lang.org",
41 "--extern-html-root-url=alloc=https://doc.rust-lang.org",
42 "--extern-html-root-url=std=https://doc.rust-lang.org",
43 "--extern-html-root-url=proc_macro=https://doc.rust-lang.org",
44 ]
45
46 [lib]
47 name = "rustversion"
48 path = "src/lib.rs"
49 proc-macro = true
50
51 [[test]]
52 name = "compiletest"
53 path = "tests/compiletest.rs"
54
55 [[test]]
56 name = "test_const"
57 path = "tests/test_const.rs"
58
59 [[test]]
60 name = "test_eval"
61 path = "tests/test_eval.rs"
62
63 [[test]]
64 name = "test_parse"
65 path = "tests/test_parse.rs"
66
67 [dev-dependencies.trybuild]
68 version = "1.0.49"
69 features = ["diff"]