# 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"
name = "clean-dev-dirs"
version = "2.8.1"
authors = ["Tom Planche <tomplanche@proton.me>"]
build = false
include = [
    "/Cargo.toml",
    "/LICENSE-APACHE",
    "/LICENSE-MIT",
    "/README.md",
    "/src/**",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A fast CLI tool for recursively cleaning development build directories (Rust, Node.js, Python, Go, Java/Kotlin, C/C++, Swift, .NET) to reclaim disk space"
homepage = "https://github.com/clean-dev-dirs/clean-dev-dirs"
readme = "README.md"
keywords = [
    "cli",
    "cleanup",
    "build-artifacts",
    "disk-space",
    "developer-tools",
]
categories = [
    "command-line-utilities",
    "filesystem",
]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/clean-dev-dirs/clean-dev-dirs"

[lib]
name = "clean_dev_dirs"
path = "src/lib.rs"
doctest = false

[[bin]]
name = "clean-dev-dirs"
path = "src/main.rs"

[dependencies.anyhow]
version = "1.0"

[dependencies.chrono]
version = "0.4.44"

[dependencies.clap]
version = "4.6.0"
features = ["derive"]

[dependencies.colored]
version = "3.1.1"

[dependencies.dirs]
version = "6.0.0"

[dependencies.glob]
version = "0.3"

[dependencies.humansize]
version = "2.1.3"

[dependencies.indicatif]
version = "0.17.11"

[dependencies.inquire]
version = "0.7"

[dependencies.rayon]
version = "1.11.0"

[dependencies.regex]
version = "1"

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1.0.149"

[dependencies.toml]
version = "0.8"

[dependencies.trash]
version = "5.2.5"

[dependencies.walkdir]
version = "2.5.0"

[dev-dependencies.tempfile]
version = "3.27"

[build-dependencies.hooksmith]
version = "1.16.0"

[lints.clippy]
expect_used = "warn"
panic = "warn"
redundant_pub_crate = "allow"
todo = "warn"
unwrap_used = "warn"

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

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

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

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

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

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

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

[lints.rust]
dead_code = "warn"
missing_debug_implementations = "warn"
unreachable_pub = "warn"
unused_imports = "warn"
unused_variables = "warn"
