use remove_file_or_dir to remove dir check
[ouch.git] / Cargo.toml
blob08eb4af7406baa207dc3251c6b440337933c46f0
1 [package]
2 name = "ouch"
3 version = "0.3.1"
4 authors = ["Vinícius Rodrigues Miguel <vrmiguel99@gmail.com>", "João M. Bezerra <marcospb19@hotmail.com>"]
5 edition = "2021"
6 readme = "README.md"
7 repository = "https://github.com/ouch-org/ouch"
8 license = "MIT"
9 keywords = ["decompression", "compression", "zip", "tar", "gzip", "accessibility", "a11y"]
10 categories = ["command-line-utilities", "compression", "encoding"]
11 description = "A command-line utility for easily compressing and decompressing files and directories."
13 # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
15 [dependencies]
16 atty = "0.2.14"
17 bzip2 = "0.4.3"
18 clap = { version = "4.0.13", features = ["derive", "env"] }
19 flate2 = { version = "1.0.24", default-features = false }
20 fs-err = "2.8.1"
21 humansize = "2.1.0"
22 libc = "0.2.135"
23 linked-hash-map = "0.5.6"
24 lzzzz = "1.0.3"
25 once_cell = "1.15.0"
26 same-file = "1.0.6"
27 snap = "1.0.5"
28 tar = "0.4.38"
29 xz2 = "0.1.7"
30 zip = { version = "0.6.2", default-features = false, features = ["time"] }
31 zstd = { version = "0.11.2", default-features = false }
32 tempfile = "3.3.0"
33 ignore = "0.4.18"
34 indicatif = "0.17.1"
35 filetime = "0.2.17"
37 [target.'cfg(unix)'.dependencies]
38 time = { version = "0.3.15", default-features = false }
40 [target.'cfg(not(unix))'.dependencies]
41 is_executable = "1.0.1"
43 [build-dependencies]
44 clap = { version = "4.0.13", features = ["derive", "env", "string"] }
45 clap_complete = "4.0.2"
46 clap_mangen = "0.2.2"
48 [dev-dependencies]
49 assert_cmd = "2.0.4"
50 infer = "0.9.0"
51 parse-display = "0.6.0"
52 proptest = "1.0.0"
53 rand = { version = "0.8.5", default-features = false, features = ["small_rng", "std"] }
54 test-strategy = "0.2.1"
56 [features]
57 default = ["flate2/zlib", "zip/deflate-zlib", "zstd/thin"]
59 [profile.release]
60 lto = true
61 codegen-units = 1
62 opt-level = 3