# 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" name = "cargo-shear" version = "1.1.3" authors = ["Boshen "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Detect and remove unused dependencies from Cargo.toml" readme = "README.md" keywords = [ "cargo", "udeps", "machete", "unused", "dependencies", ] categories = [ "development-tools", "development-tools::cargo-plugins", ] license = "MIT" repository = "https://github.com/Boshen/cargo-shear" [profile.release] opt-level = 3 lto = "fat" codegen-units = 1 debug = 0 panic = "abort" strip = "symbols" [lib] name = "cargo_shear" path = "src/lib.rs" doctest = false [[bin]] name = "cargo-shear" path = "src/main.rs" test = false [dependencies.anyhow] version = "1.0.86" [dependencies.bpaf] version = "0.9.12" features = [ "derive", "batteries", ] [dependencies.cargo-util-schemas] version = "0.5.0" [dependencies.cargo_metadata] version = "0.18.1" [dependencies.cargo_toml] version = "0.20.2" [dependencies.proc-macro2] version = "1.0.85" features = ["span-locations"] [dependencies.rayon] version = "1.10.0" [dependencies.regex] version = "1.10.5" [dependencies.serde_json] version = "1.0.117" [dependencies.syn] version = "2.0.66" features = [ "full", "visit", "extra-traits", ] [dependencies.toml_edit] version = "0.22.14" features = ["parse"] [dependencies.walkdir] version = "2.5.0" [lints.clippy] dbg_macro = "warn" empty_drop = "warn" empty_structs_with_brackets = "warn" exit = "warn" rc_buffer = "warn" rc_mutex = "warn" same_name_method = "warn" unwrap_used = "warn" [lints.clippy.all] level = "warn" priority = -1 [lints.clippy.cargo] level = "warn" priority = -1 [lints.clippy.nursery] level = "warn" priority = -1 [lints.clippy.pedantic] level = "warn" priority = -1