[package]
name = "cargo-cache"
version = "0.8.3"
authors = ["Matthias Krüger <matthias.krueger@famsik.de>"]
description = "Manage cargo cache ($CARGO_HOME or ~/.cargo/), show sizes and remove directories selectively"
homepage = "https://github.com/matthiaskrgr/cargo-cache"
repository = "https://github.com/matthiaskrgr/cargo-cache"
license = "MIT/Apache-2.0"
readme = "README.md"
keywords = ["cargo", "cache", "cli", "manage", "cargo-home"]
categories = ["command-line-utilities", "development-tools::cargo-plugins", "development-tools"]
build = "src/build.rs"
edition = "2021"
resolver = "2"
rust-version = "1.57"
[features]
default = ["cargo_metadata", "chrono", "clap", "dirs-next", "git2", "humansize", "rayon", "regex", "rustc_tools_util", "walkdir", "tar", "flate2", "vendored-libgit"]
bench = []
ci-autoclean = []
vendored-libgit = ["git2/vendored-libgit2"]
offline_tests = []
[dependencies]
cargo_metadata = { version = "0.15.0", optional = true }
cfg-if = { version = "1.0.0" }
chrono = { version = "0.4.19", optional = true }
clap = {version = "3.0.0", features = ["wrap_help"], optional = true}
dirs-next = { version = "2.0.0", optional = true }
flate2 = {version = "1.0.22", optional = true}
git2 = { version = "0.14", default-features = false, optional = true, features = ["vendored-libgit2"] }
home = "0.5.3"
humansize = { version = "1.1.0", optional = true }
rayon = { version = "1.5.0", optional = true }
regex = { version = "1.4.2", optional = true }
remove_dir_all = { version = "0.7.0" }
rustc_tools_util = { version = "0.2.0", optional = true }
tar = { version = "0.4.38", optional = true }
unicode-normalization = { version = "0.1.19" }
walkdir = { version = "2.3.1", optional = true }
[dev-dependencies]
path-slash = "0.2.0"
pretty_assertions = "1.0.0"
fs_extra = "1.2.0"
tempfile = "3.1.0"
[build-dependencies]
rustc_tools_util = "0.2.0"
[[bin]]
name = "cargo-cache"
path = "src/main.rs"
test = true
bench = true
[badges]
[profile.release]
lto = true
codegen-units = 1
incremental = false
[profile.bench]
lto = true
codegen-units = 1
incremental = false