client: remove unused dependencies

Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
This commit is contained in:
Maximiliano Sandoval 2024-08-14 11:18:35 +02:00 committed by Wolfgang Bumiller
parent b01230f70c
commit 5e2179cf0a

View File

@ -10,30 +10,21 @@ repository.workspace = true
[dependencies] [dependencies]
anyhow.workspace = true anyhow.workspace = true
base64.workspace = true
hex.workspace = true hex.workspace = true
http.workspace = true http.workspace = true
once_cell.workspace = true
percent-encoding.workspace = true
regex.workspace = true
serde.workspace = true serde.workspace = true
serde_json.workspace = true serde_json.workspace = true
serde_plain.workspace = true
# wasm-incompatible dependencies must stay optional # wasm-incompatible dependencies must stay optional
log = { workspace = true, optional = true } log = { workspace = true, optional = true }
openssl = { workspace = true, optional = true } openssl = { workspace = true, optional = true }
proxmox-login = { workspace = true, features = [ "http" ] } proxmox-login = { workspace = true, features = [ "http" ] }
webauthn-rs = { workspace = true, optional = true }
proxmox-http = { workspace = true, optional = true, features = [ "client" ] } proxmox-http = { workspace = true, optional = true, features = [ "client" ] }
hyper = { workspace = true, optional = true } hyper = { workspace = true, optional = true }
proxmox-section-config.workspace = true
proxmox-schema = { workspace = true, features = [ "api-macro" ] }
[features] [features]
default = [] default = []
hyper-client = [ "dep:openssl", "dep:hyper", "dep:proxmox-http", "dep:log" ] hyper-client = [ "dep:openssl", "dep:hyper", "dep:proxmox-http", "dep:log" ]
webauthn = [ "dep:webauthn-rs", "proxmox-login/webauthn" ] webauthn = [ "proxmox-login/webauthn" ]