diff --git a/proxmox-http/Cargo.toml b/proxmox-http/Cargo.toml index f12dfc6c..541c5dd2 100644 --- a/proxmox-http/Cargo.toml +++ b/proxmox-http/Cargo.toml @@ -31,17 +31,19 @@ proxmox-lang = { path = "../proxmox-lang", optional = true, version = "1.1" } [features] default = [] -client = [ "futures", "http-helpers", "hyper/full", "openssl", "tokio/io-util", "tokio-openssl" ] -client-trait = [ "http" ] -http-helpers = [ "base64", "http", "proxmox-sys", "serde_json", "url" ] +client = [ "dep:futures", "http-helpers", "dep:hyper", "hyper?/full", "dep:openssl", "dep:tokio", "tokio?/io-util", "dep:tokio-openssl" ] +client-trait = [ "dep:http" ] +http-helpers = [ "dep:base64", "dep:http", "dep:proxmox-sys", "dep:serde_json", "dep:url" ] websocket = [ - "base64", - "futures", - "hyper", - "openssl", - "proxmox-sys", - "proxmox-io/tokio", - "proxmox-lang", - "tokio/io-util", - "tokio/sync", + "dep:base64", + "dep:futures", + "dep:hyper", + "dep:openssl", + "dep:proxmox-sys", + "dep:proxmox-io", + "proxmox-io?/tokio", + "dep:proxmox-lang", + "dep:tokio", + "tokio?/io-util", + "tokio?/sync", ] diff --git a/proxmox-router/Cargo.toml b/proxmox-router/Cargo.toml index 9ca27d7c..57334a20 100644 --- a/proxmox-router/Cargo.toml +++ b/proxmox-router/Cargo.toml @@ -30,5 +30,5 @@ proxmox-async = { path = "../proxmox-async", version = "0.4.1" } [features] default = [ "cli" ] -cli = [ "env_logger", "libc", "rustyline", "tokio" ] +cli = [ "dep:env_logger", "dep:libc", "dep:rustyline", "dep:tokio" ] test-harness = [ "proxmox-schema/test-harness" ] diff --git a/proxmox-schema/Cargo.toml b/proxmox-schema/Cargo.toml index c08405b1..63807f75 100644 --- a/proxmox-schema/Cargo.toml +++ b/proxmox-schema/Cargo.toml @@ -30,8 +30,8 @@ proxmox-api-macro = { path = "../proxmox-api-macro", version = "1.0.3" } [features] default = [] -api-macro = ["proxmox-api-macro"] -upid-api-impl = [ "libc", "nix" ] +api-macro = ["dep:proxmox-api-macro"] +upid-api-impl = [ "dep:libc", "dep:nix" ] # Testing only test-harness = [] diff --git a/proxmox-subscription/Cargo.toml b/proxmox-subscription/Cargo.toml index d58420a3..0d9f0dac 100644 --- a/proxmox-subscription/Cargo.toml +++ b/proxmox-subscription/Cargo.toml @@ -27,4 +27,4 @@ proxmox-schema = { path = "../proxmox-schema", version = "1.3.3", features = ["a [features] default = [] -api-types = ["proxmox-schema"] +api-types = ["dep:proxmox-schema"] diff --git a/proxmox-sys/Cargo.toml b/proxmox-sys/Cargo.toml index 7321ce58..41386114 100644 --- a/proxmox-sys/Cargo.toml +++ b/proxmox-sys/Cargo.toml @@ -29,8 +29,8 @@ proxmox-time = { path = "../proxmox-time", version = "1.0.0" } [features] default = [] -sortable-macro = ["proxmox-sortable-macro"] -logrotate = ["zstd"] +sortable-macro = ["dep:proxmox-sortable-macro"] +logrotate = ["dep:zstd"] acl = [] crypt = [] timer = [] diff --git a/proxmox-tfa/Cargo.toml b/proxmox-tfa/Cargo.toml index fbcf685f..43539dda 100644 --- a/proxmox-tfa/Cargo.toml +++ b/proxmox-tfa/Cargo.toml @@ -28,6 +28,6 @@ webauthn-rs = { version = "0.3", optional = true } [features] default = [] -u2f = [ "libc", "serde_json", "serde/derive" ] -api = [ "u2f", "webauthn-rs", "proxmox-uuid", "proxmox-time" ] -api-types = [ "proxmox-schema" ] +u2f = [ "dep:libc", "dep:serde_json", "serde/derive" ] +api = [ "u2f", "dep:webauthn-rs", "dep:proxmox-uuid", "dep:proxmox-time" ] +api-types = [ "dep:proxmox-schema" ]