# 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.17" authors = ["David Tolnay "] build = "build/build.rs" 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"] targets = ["x86_64-unknown-linux-gnu"] [lib] name = "rustversion" path = "src/lib.rs" proc-macro = true [[test]] name = "test_const" path = "tests/test_const.rs" [[test]] name = "test_eval" path = "tests/test_eval.rs" [[test]] name = "compiletest" path = "tests/compiletest.rs" [[test]] name = "test_parse" path = "tests/test_parse.rs" [dev-dependencies.trybuild] version = "1.0.49" features = ["diff"]