# 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 = "2021" rust-version = "1.73" name = "dylint" version = "3.2.1" authors = ["Samuel E. Moelius III "] build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = "A tool for running Rust lints from dynamic libraries" readme = "README.md" license = "MIT OR Apache-2.0" repository = "https://github.com/trailofbits/dylint" [package.metadata.cargo-udeps.ignore] normal = ["fs_extra"] [lib] name = "dylint" path = "src/lib.rs" [dependencies.ansi_term] version = "0.12" [dependencies.anyhow] version = "1.0" [dependencies.cargo] version = "0.81" optional = true [dependencies.cargo-platform] version = "0.1" optional = true [dependencies.cargo-util] version = "0.2" optional = true [dependencies.cargo-util-schemas] version = "0.5" optional = true [dependencies.cargo_metadata] version = "0.18" [dependencies.dirs] version = "5.0" [dependencies.dunce] version = "1.0" optional = true [dependencies.dylint_internal] version = "=3.2.1" features = [ "config", "git", "packaging", "rustup", "sed", ] [dependencies.fs_extra] version = "1.3" optional = true [dependencies.glob] version = "0.3" optional = true [dependencies.heck] version = "0.5" optional = true [dependencies.hex] version = "0.4" optional = true [dependencies.home] version = "0.5" optional = true [dependencies.if_chain] version = "1.0" optional = true [dependencies.is-terminal] version = "0.4" [dependencies.log] version = "0.4" [dependencies.once_cell] version = "1.20" [dependencies.rewriter] version = "0.1" optional = true [dependencies.semver] version = "1.0" [dependencies.serde] version = "1.0" [dependencies.serde-untagged] version = "0.1" optional = true [dependencies.serde_json] version = "1.0" [dependencies.tempfile] version = "3.13" [dependencies.toml] version = "0.8" optional = true [dependencies.url] version = "2.5" optional = true [dependencies.walkdir] version = "2.5" [dev-dependencies.dylint_internal] version = "=3.2.1" features = ["examples"] [dev-dependencies.env_logger] version = "0.11" [build-dependencies.dylint_internal] version = "=3.2.1" features = ["cargo"] [features] __cargo_cli = [ "cargo-util", "cargo-util-schemas", "dunce", "fs_extra", "glob", "hex", "home", "if_chain", "serde-untagged", "toml", "url", ] __cargo_lib = [ "cargo", "cargo-platform", "cargo-util", "cargo-util-schemas", "dunce", "glob", "if_chain", "serde-untagged", "toml", ] default = [] library_packages = ["__cargo_cli"] package_options = [ "heck", "if_chain", "dylint_internal/clippy_utils", "dylint_internal/git", "rewriter", ] [lints.rust.unexpected_cfgs] level = "deny" priority = 0 check-cfg = [ "cfg(coverage)", "cfg(dylint_lib, values(any()))", "cfg(__cargo_cli)", "cfg(__cargo_lib)", "cfg(__library_packages)", ]