remove-except 0.5.1

A Rust CLI to keep selected paths or glob matches and remove everything else under a root.
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.88"
name = "remove-except"
version = "0.5.1"
build = false
include = [
    "/Cargo.toml",
    "/Cargo.lock",
    "/README.md",
    "/README.ja.md",
    "/LICENSE-APACHE",
    "/LICENSE-MIT",
    "/src/**",
    "/benches/plan_generation.rs",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A Rust CLI to keep selected paths or glob matches and remove everything else under a root."
documentation = "https://docs.rs/remove-except"
readme = "README.md"
keywords = [
    "cli",
    "filesystem",
    "cleanup",
    "glob",
    "deletion",
]
categories = [
    "command-line-utilities",
    "filesystem",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/tresuke/remove-except"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--generate-link-to-definition"]

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

[[bin]]
name = "remove-except"
path = "src/main.rs"

[[bench]]
name = "plan_generation"
path = "benches/plan_generation.rs"
harness = false

[dependencies.anyhow]
version = "1"

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

[dependencies.console]
version = "0.16"

[dependencies.globset]
version = "0.4"

[dependencies.jiff]
version = "0.2.43"
features = [
    "std",
    "tz-system",
    "tzdb-zoneinfo",
    "tzdb-bundle-platform",
]
default-features = false

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

[dependencies.serde_json]
version = "1"

[dependencies.unicode-segmentation]
version = "1.13.3"

[dependencies.walkdir]
version = "2"

[dev-dependencies.assert_cmd]
version = "2"

[dev-dependencies.assert_fs]
version = "1"

[target."cfg(unix)".dependencies.libc]
version = "0.2"

[target."cfg(unix)".dependencies.regex-automata]
version = "0.4"

[target."cfg(windows)".dependencies.regex-automata]
version = "0.4"

[target."cfg(windows)".dependencies.unicode-casefold]
version = "0.2"

[target."cfg(windows)".dependencies.windows-sys]
version = "0.61"
features = [
    "Win32_Foundation",
    "Win32_Storage_FileSystem",
    "Win32_System_Console",
    "Win32_System_Threading",
]