# 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 = "flatten-directory" version = "1.0.0" build = false autobins = false autoexamples = false autotests = false autobenches = false description = "move all files from sub-directories to target directory, then remove all directories recursively" homepage = "https://github.com/hoshiyuki-tamako/flatten-directory-rs" readme = "readme.md" keywords = [ "flatten", "directory", ] categories = [ "command-line-utilities", "filesystem", ] license = "MIT" repository = "https://github.com/hoshiyuki-tamako/flatten-directory-rs" [profile.release] lto = true codegen-units = 1 strip = true [lib] name = "flatten_directory" path = "src/lib.rs" [[bin]] name = "flatten-directory" path = "src/main.rs" [[example]] name = "basic" path = "examples/basic/main.rs" [dependencies.anyhow] version = "1.0.89" [dependencies.clap] version = "4.5.20" features = ["derive"] [dependencies.walkdir] version = "2.5.0" [dev-dependencies.fake] version = "2.10.0" [lints.clippy] enum_glob_use = "deny" nursery = "deny" pedantic = "deny" unwrap_used = "deny" [lints.rust] unsafe_code = "forbid"