-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
63 lines (55 loc) · 2.05 KB
/
Cargo.toml
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
[package]
name = "docker-repack"
version = "0.5.0"
edition = "2021"
build = "build.rs"
description = "Repack Docker images for faster pull speeds"
license = "MIT"
repository = "https://github.com/orf/docker-repack/"
[dependencies]
tracing = { version = "0.1.41", features = ["release_max_level_debug", "max_level_trace"] }
tracing-subscriber = { version = "0.3.19", features = ["env-filter"] }
tracing-indicatif = "0.3.6"
memmap2 = "0.9.4"
strum = { version = "0.26.3", features = ["derive"] }
memchr = { version = "2.7.4", default-features = false }
anyhow = "1.0.94"
zstd = { version = "0.13.2" }
tar = { version = "0.4.43", default-features = false }
itertools = "0.14.0"
flate2 = "1.0.35"
byte-unit = { version = "5.1.6" }
sha2 = { version = "0.10.8" }
oci-spec = { version = "0.7.1", default-features = false, features = ["image"] }
serde_json = { version = "1.0.133", default-features = false }
const-hex = { version = "1.14.0", default-features = false }
chrono = { version = "0.4.39", default-features = false, features = ["now"] }
serde = "1.0.216"
rayon = "1.10.0"
indicatif = "0.17.9"
oci-client = "0.14.0"
tokio = { version = "1.42.0", features = ["full"] }
docker_credential = "1.3.1"
tokio-util = { version = "0.7.13", features = ["full"] }
clap = { version = "4.5.23", features = ["derive"] }
shadow-rs = "0.37.0"
rand = {version = "0.8.5", default-features = false, features = ["small_rng", "getrandom", "min_const_gen"]}
globset = { version = "0.4.15", default-features = false }
[features]
default = ["perf", "zstd-experimental"]
perf = ["tracing/release_max_level_info", "flate2/zlib-ng", "zstd/arrays"]
zstd-experimental = ["zstd/experimental"]
[target.'cfg(all(unix, any(target_arch = "aarch64", target_arch = "x86", target_arch = "x86_64")))'.dependencies]
sha2 = { version = "0.10.8", features = ["asm"] }
[profile.lto]
inherits = "release"
lto = "thin"
codegen-units = 1
panic = "abort"
[profile.flamegraph]
inherits = "lto"
debug = true
[dev-dependencies]
test-log = { version = "0.2.16", features = ["color", "trace"] }
[build-dependencies]
shadow-rs = "0.37.0"