# 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.70"
name = "rename-simple"
version = "0.2.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rename files by normalizing accented characters, spaces and special chars to clean ASCII slugs"
readme = "README.md"
keywords = [
    "rust",
    "cli",
    "rename",
]
categories = ["command-line-utilities"]
license = "MIT"
repository = "https://github.com/darkone-linux/rename-simple"

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

[[bin]]
name = "rename-simple"
path = "src/main.rs"

[[test]]
name = "cli_tests"
path = "tests/cli_tests.rs"

[[test]]
name = "recursive_tests"
path = "tests/recursive_tests.rs"

[[test]]
name = "transform_tests"
path = "tests/transform_tests.rs"

[[test]]
name = "unix_tests"
path = "tests/unix_tests.rs"

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

[dependencies.unicode-normalization]
version = "0.1"

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

[dev-dependencies.predicates]
version = "3"

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

[lints.clippy]
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"

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

[lints.rust]
unsafe_code = "deny"

[profile.release]
lto = "thin"
codegen-units = 1
panic = "abort"
strip = true
