accept inserting flags in any position
[ouch.git] / Cargo.toml
blob932f6e5a1ff7db4d6b076a6144bf25d5163e5319
1 [package]
2 name = "ouch"
3 version = "0.4.0"
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", "cli"]
10 categories = ["command-line-utilities", "compression", "encoding"]
11 description = "A command-line utility for easily compressing and decompressing files and directories."
13 [dependencies]
14 atty = "0.2.14"
15 bzip2 = "0.4.3"
16 clap = { version = "4.0.26", features = ["derive", "env"] }
17 filetime = "0.2.18"
18 flate2 = { version = "1.0.24", default-features = false }
19 fs-err = "2.9.0"
20 humansize = "2.1.2"
21 ignore = "0.4.18"
22 libc = "0.2.137"
23 linked-hash-map = "0.5.6"
24 lzzzz = "1.0.4"
25 once_cell = "1.16.0"
26 same-file = "1.0.6"
27 snap = "1.1.0"
28 tar = "0.4.38"
29 tempfile = "3.3.0"
30 xz2 = "0.1.7"
31 zip = { version = "0.6.3", default-features = false, features = ["time"] }
32 zstd = { version = "0.12.0", default-features = false }
33 # zstd-sys > 2.0.1 unconditionally enables thin LTO and causes CI to fail
34 # https://github.com/gyscos/zstd-rs/pull/155
35 zstd-sys = "=2.0.1"
37 [target.'cfg(unix)'.dependencies]
38 time = { version = "0.3.17", default-features = false }
40 [target.'cfg(not(unix))'.dependencies]
41 is_executable = "1.0.1"
43 [build-dependencies]
44 clap = { version = "4.0.26", features = ["derive", "env", "string"] }
45 clap_complete = "4.0.5"
46 clap_mangen = "0.2.4"
48 [dev-dependencies]
49 assert_cmd = "2.0.6"
50 infer = "0.11.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