-
Notifications
You must be signed in to change notification settings - Fork 126
Expand file tree
/
Copy pathCargo.toml
More file actions
101 lines (94 loc) · 2.71 KB
/
Cargo.toml
File metadata and controls
101 lines (94 loc) · 2.71 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
[package]
name = "ouch"
version = "0.6.1"
authors = [
"João Marcos <marcospb19@hotmail.com>",
"Vinícius Rodrigues Miguel <vrmiguel99@gmail.com>",
]
edition = "2024"
rust-version = "1.85.0"
readme = "README.md"
repository = "https://github.com/ouch-org/ouch"
license = "MIT"
keywords = ["decompression", "compression", "cli"]
categories = ["command-line-utilities", "compression", "encoding"]
description = "A command-line utility for easily compressing and decompressing files and directories."
[dependencies]
brotli = "7.0.0"
bstr = { version = "1.10.0", default-features = false, features = ["std"] }
bytesize = "1.3.0"
bzip2 = "0.4.4"
bzip3 = { version = "0.9.0", features = ["bundled"], optional = true }
clap = { version = "4.5.20", features = ["derive", "env"] }
file_type_enum = "3.0.1"
filetime_creation = "0.2"
flate2 = { version = "1.0.30", default-features = false }
fs-err = "2.11.0"
gzp = { version = "2.0.1", default-features = true, features = [
"snappy_default",
] }
ignore = "0.4.25"
is_executable = "1.0.5"
libc = "0.2.155"
linked-hash-map = "0.5.6"
lz4_flex = "0.11.6"
lzma-rust2 = "0.14.2"
num_cpus = "1.16.0"
rayon = "1.10.0"
same-file = "1.0.6"
sevenz-rust2 = { version = "0.19.1", features = ["compress", "aes256"] }
snap = "1.1.1"
strum = { version = "0.28.0", features = ["derive"] }
tar = "0.4.42"
tempfile = "3.10.1"
time = { version = "0.3.36", default-features = false }
unrar = { version = "0.5.7", optional = true }
xz2 = "0.1.7"
zip = { version = "6", default-features = false, features = [
"time",
"aes-crypto",
] }
zstd = { version = "0.13.2", default-features = false, features = ["zstdmt"] }
[dev-dependencies]
anyhow = "1.0.102"
assert_cmd = "2.0.14"
glob = "0.3.2"
infer = "0.16.0"
insta = { version = "1.40.0", features = ["filters"] }
itertools = "0.14.0"
memchr = "2.7.4"
parse-display = "0.9.1"
pretty_assertions = "1.4.1"
proptest = "1.5.0"
rand = { version = "0.8.5", default-features = false, features = [
"small_rng",
"std",
] }
regex = "1.10.4"
test-strategy = "0.4.0"
[build-dependencies]
clap = { version = "4.5.20", features = ["derive", "env", "string"] }
clap_complete = "4.5.28"
clap_complete_nushell = "4.5.5"
clap_mangen = "0.2.24"
[features]
default = ["unrar", "use_zlib", "use_zstd_thin", "bzip3"]
use_zlib = ["flate2/zlib", "gzp/deflate_zlib", "zip/deflate-flate2-zlib"]
use_zstd_thin = ["zstd/thin"]
# For generating binaries for releases
[profile.release]
lto = true
codegen-units = 1
opt-level = 3
strip = true
# When we need a fast binary that compiles slightly faster `release` (useful for CI)
[profile.fast]
inherits = "release"
lto = false
opt-level = 2
incremental = true
codegen-units = 32
strip = false
[lints.clippy]
type_complexity = "allow"
too_many_arguments = "allow"