-
Notifications
You must be signed in to change notification settings - Fork 2
/
Cargo.toml
111 lines (98 loc) · 1.7 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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
[package]
name = "hcdl"
description = "Easily download and update HashiCorp tools"
version = "0.13.0"
authors = ["David O'Rourke <[email protected]>"]
edition = "2021"
license = "MIT OR Apache-2.0"
readme = "README.md"
homepage = "https://github.com/phyber/hcdl"
repository = "https://github.com/phyber/hcdl"
rust-version = "1.74.1"
resolver = "2"
categories = [
"command-line-utilities",
]
keywords = [
"cli",
"hashicorp",
]
exclude = [
".gitignore",
".github",
]
[[bin]]
name = "hcdl"
path = "src/main.rs"
[lib]
name = "hcdl"
path = "src/lib.rs"
[features]
default = [
"embed_gpg_key",
"shell_completion",
]
embed_gpg_key = []
shell_completion = [
"clap_complete",
]
[dependencies]
anyhow = "1.0"
bytes = "1.5"
chrono = "0.4"
crc32fast = "1.3"
dirs = "5.0"
hex = "0.4"
indicatif = "0.17"
pgp = "0.14"
serde_json = "1.0"
sha2 = "0.10"
tempfile = "3.8"
thiserror = "2.0"
[dependencies.clap]
version = "4.3.24"
features = [
"cargo",
"deprecated",
"env",
"wrap_help",
]
[dependencies.clap_complete]
version = "4.3.2"
optional = true
[dependencies.reqwest]
version = "0.12"
default-features = false
features = [
"gzip",
"http2",
"json",
"rustls-tls",
]
[dependencies.serde]
version = "1.0"
features = [
"derive",
]
[dependencies.tokio]
version = "1.33"
features = [
"macros",
"rt-multi-thread",
]
[dependencies.url]
version = "2.4"
features = [
"serde",
]
# Force this due to flate2 forcing us to lower zip versions, this is due to
# restrictions on flate2 versions in the zip-rs Cargo.toml
[dependencies.zip]
version = "2.2.0"
default-features = false
features = [
"deflate",
]
[dev-dependencies]
mockito = "1.2"
pretty_assertions = "1.4"