[package]
edition = "2021"
name = "tectonic_cfg_support"
version = "0.1.5"
authors = [
"Matt Rice <ratmice@gmail.com>",
"Peter Williams <peter@newton.cx>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = """
A build.rs support crate that helps deal with CARGO_CFG_TARGET_* variables.
When cross-compiling, these variables must be used instead of constructs such
as `cfg!(target_arch = ...)` because the build.rs script is compiled to
target the build host environment, not the true target environment.
"""
homepage = "https://tectonic-typesetting.github.io/"
documentation = "https://docs.rs/tectonic"
readme = "README.md"
license = "MIT"
repository = "https://github.com/tectonic-typesetting/tectonic/"
[lib]
name = "tectonic_cfg_support"
path = "src/lib.rs"
[dependencies.lazy_static]
version = "^1.4"
[lints.clippy]
undocumented_unsafe_blocks = "deny"
[lints.rust]
missing_docs = "deny"
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(has_error_description_deprecated)"]