libc-cfg 0.3.4

A codegen tool for extracting libc cfg
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 = "2024"
rust-version = "1.87"
name = "libc-cfg"
version = "0.3.4"
build = false
include = [
    "Cargo.lock",
    "Cargo.toml",
    "LICENSE",
    "README.md",
    "src/**/*.rs",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A codegen tool for extracting libc cfg"
documentation = "https://docs.rs/libc-cfg"
readme = "README.md"
keywords = [
    "libc",
    "cfg",
    "codegen",
    "build",
]
categories = [
    "development-tools",
    "os",
]
license = "MIT"
repository = "https://github.com/Nugine/libc-cfg"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
binary = [
    "dep:clap",
    "dep:env_logger",
]

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

[[bin]]
name = "libc-cfg"
path = "src/main.rs"
required-features = ["binary"]

[dependencies.anyhow]
version = "1.0.102"

[dependencies.bool-logic]
version = "0.3.3"

[dependencies.camino]
version = "1.2.2"

[dependencies.clap]
version = "4.5.60"
features = ["derive"]
optional = true

[dependencies.env_logger]
version = "0.11.10"
optional = true

[dependencies.log]
version = "0.4.29"

[dependencies.proc-macro2]
version = "1.0.106"

[dependencies.quote]
version = "1.0.45"

[dependencies.regex]
version = "1.12.3"

[dependencies.std-next]
version = "0.1.9"

[dependencies.syn]
version = "3.0.3"
features = [
    "full",
    "visit",
    "visit-mut",
    "extra-traits",
]

[lints.clippy]
multiple_crate_versions = "allow"

[lints.clippy.all]
level = "deny"
priority = -1

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

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

[lints.rust]
unsafe_code = "forbid"

[profile.release]
debug = "line-tables-only"