rustversion-detect 0.3.0

Parses the output of rustc --version for use in build scripts
Documentation
# 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-detect"
version = "0.3.0"
authors = [
    "David Tolnay <dtolnay@gmail.com>",
    "Techcable",
]
build = false
exclude = [
    ".gitignore",
    "/.github",
    "/benchcompile",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Parses the output of rustc --version for use in build scripts"
readme = "README.md"
keywords = [
    "autocfg",
    "cfg",
    "nightly",
    "rustc",
    "version",
]
categories = ["development-tools::build-utils"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/Techcable/rustversion-detect"

[package.metadata.cdocs.rs]
targets = ["x86_64-unknown-linux-gnu"]
rustdoc-args = ["--generate-link-to-definition"]

[lib]
name = "rustversion_detect"
path = "src/lib.rs"

[[example]]
name = "version"
path = "examples/version.rs"

[lints.clippy]
cast-lossless = "allow"
cast-possible-truncation = "allow"
must-use-candidate = "warn"
too-many-lines = "allow"

[lints.clippy.cargo]
level = "warn"
priority = -1

[lints.clippy.pedantic]
level = "warn"
priority = -1