-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
84 lines (73 loc) · 2.18 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
[package]
name = "pactup"
version = "0.2.21"
edition = "2021"
license = "MIT"
publish = true
build = "build.rs"
repository = "https://github.com/kadena-community/pactup"
description = "Fast and simple Pact version manager"
[dependencies]
anyhow = { version = "1.0", features = ["backtrace"] }
chrono = { version = "0.4", features = ["now", "serde"], default-features = false }
serde = { version = "1.0", features = ["derive"] }
serde_json = { version = "1.0" }
reqwest = { version = "0.12", features = [
"blocking",
"brotli",
"json",
"rustls-tls",
"rustls-tls-native-roots",
], default-features = false }
url = { version = "2.5", features = ["serde"] }
clap = { version = "4.5", features = ["derive", "env"] }
clap_complete = "4.5"
colored = "2.1"
etcetera = "0.8"
encoding_rs_io = "0.1"
env_logger = "0.11"
indoc = "2.0"
log = "0.4"
node-semver = "2.1"
sysinfo = "0.32"
tar = "0.4"
tempfile = "3.14"
thiserror = "2.0"
zip = "2.2"
duct = "0.13"
pretty_assertions = "1.4"
test-log = "0.2"
flate2 = "1.0"
walkdir = "2.5"
indicatif = { version = "0.17", features = ["improved_unicode"] }
regex = "1.11"
xz2 = "0.1"
miette = { version = "7.2.0", features = ["fancy"] }
[dev-dependencies]
pretty_assertions = "1.4"
duct = "0.13"
test-log = "0.2"
http = "1.1"
[build-dependencies]
embed-resource = "3"
[target.'cfg(windows)'.dependencies]
csv = "1.3"
junction = "1.2"
[profile.dev]
codegen-units = 16 # debug build will cause runtime panic if codegen-unints is default
debug = 2
incremental = true
panic = "abort"
[profile.release]
codegen-units = 1
debug = false
lto = "thin" # Performs “thin” LTO. This is similar to “fat”, but takes substantially less time to run while still achieving performance gains similar to “fat”.
opt-level = 3
panic = "abort"
strip = true
[package.metadata.cargo-shear]
ignored = ["csv", "junction"]
[package.metadata.binstall]
pkg-url = "{ repo }/releases/download/pactup_v{ version }/{ name }-{ target-family }-{ target-arch }-{ target-libc }.tar.gz"
bin-dir = "{ name }-{ target-family }-{ target-arch }-{ target-libc }{ binary-ext }"
pkg-fmt = "tgz"