workspace: switch remaining dependencies

while these are (currently) only used by a single member each, having *all*
dependency versions specified in the top level Cargo.toml only makes the whole
process of managing them less error-prone.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
This commit is contained in:
Fabian Grünbichler 2022-12-12 10:18:07 +01:00
parent 1380182538
commit ee8419cf2d
5 changed files with 26 additions and 13 deletions

View File

@ -36,9 +36,14 @@ exclude = [ "debian" ]
# external dependencies
anyhow = "1.0"
base32 = "0.4"
base64 = "0.13"
bytes = "1.0"
crc32fast = "1"
endian_trait = "0.6"
flate2 = "1.0"
futures = "0.3"
handlebars = "3.0"
hex = "0.4"
http = "0.2"
hyper = "0.14.5"
@ -46,17 +51,25 @@ lazy_static = "1.4"
libc = "0.2.107"
log = "0.4.17"
nix = "0.24.1"
once_cell = "1.3.1"
openssl = "0.10"
percent-encoding = "2.1"
pin-utils = "0.1.0"
proc-macro2 = "1.0"
quote = "1.0"
regex = "1.5"
serde = "1.0"
serde_json = "1.0"
serde_plain = "1.0"
syn = { version = "1.0", features = [ "full", "visit-mut" ] }
tar = "0.4"
tokio = "1.6"
tokio-openssl = "0.6.1"
tokio-stream = "0.1.0"
tower-service = "0.3.0"
url = "2.2"
walkdir = "2"
webauthn-rs = "0.3"
zstd = { version = "0.6", features = [ "bindgen" ] }
# workspace dependencies

View File

@ -13,7 +13,7 @@ exclude.workspace = true
anyhow.workspace = true
futures.workspace = true
lazy_static.workspace = true
pin-utils = "0.1.0"
pin-utils.workspace = true
tokio = { workspace = true, features = [ "net", "rt", "rt-multi-thread", "sync"] }
proxmox-io = { workspace = true, features = [ "tokio" ] }

View File

@ -11,15 +11,15 @@ exclude.workspace = true
[dependencies]
anyhow.workspace = true
bytes = "1.0"
crc32fast = "1"
bytes.workspace = true
crc32fast.workspace = true
endian_trait.workspace = true
flate2 = "1.0"
flate2.workspace = true
futures.workspace = true
libc.workspace = true
tar.workspace = true
tokio = { workspace = true, features = [ "fs", "io-util"] }
walkdir = "2"
tar = "0.4"
walkdir.workspace = true
zstd.workspace = true
proxmox-time.workspace = true

View File

@ -16,22 +16,22 @@ tokio = { workspace = true, features = [ "rt-multi-thread", "signal", "process"
[dependencies]
anyhow.workspace = true
futures.workspace = true
handlebars = "3.0"
handlebars.workspace = true
http.workspace = true
hyper = { workspace = true, features = [ "full" ] }
lazy_static.workspace = true
libc.workspace = true
log.workspace = true
nix.workspace = true
once_cell = "1.3.1"
once_cell.workspace = true
percent-encoding.workspace = true
regex.workspace = true
serde = { workspace = true, features = [ "derive" ] }
serde_json.workspace = true
tokio = { workspace = true, features = ["signal", "process"] }
tokio-openssl.workspace = true
tokio-stream = "0.1.0"
tower-service = "0.3.0"
tokio-stream.workspace = true
tower-service.workspace = true
url.workspace = true
proxmox-async.workspace = true

View File

@ -11,17 +11,17 @@ exclude.workspace = true
[dependencies]
anyhow.workspace = true
base32 = "0.4"
base32.workspace = true
base64.workspace = true
hex.workspace = true
openssl.workspace = true
percent-encoding.workspace = true
serde.workspace = true
serde_plain = "1.0"
serde_plain.workspace = true
serde_json = { workspace = true, optional = true }
libc = { workspace = true, optional = true }
url.workspace = true
webauthn-rs = { version = "0.3", optional = true }
webauthn-rs = { workspace = true, optional = true }
proxmox-schema = { workspace = true, features = [ "api-macro" ], optional = true }
proxmox-time = { workspace = true, optional = true }