http: lower hyper feature requirements for client feature
instead of 'full', we only need 'tcp+http1+http2' Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
parent
10a3ab222b
commit
b2c26f74a6
@ -31,8 +31,28 @@ proxmox-lang = { workspace = true, optional = true }
|
||||
default = []
|
||||
|
||||
rate-limiter = ["dep:hyper"]
|
||||
rate-limited-stream = ["rate-limiter", "dep:tokio", "dep:hyper", "hyper?/client", "tokio?/time", "tokio?/net"]
|
||||
client = [ "dep:futures", "http-helpers", "dep:hyper", "hyper?/full", "dep:openssl", "dep:tokio", "tokio?/io-util", "dep:tokio-openssl" ]
|
||||
rate-limited-stream = [
|
||||
"dep:hyper",
|
||||
"dep:tokio",
|
||||
"hyper?/client",
|
||||
"rate-limiter",
|
||||
"tokio?/net",
|
||||
"tokio?/time",
|
||||
]
|
||||
client = [
|
||||
"dep:futures",
|
||||
"dep:hyper",
|
||||
"dep:openssl",
|
||||
"dep:tokio",
|
||||
"dep:tokio-openssl",
|
||||
"http-helpers",
|
||||
"hyper?/client",
|
||||
"hyper?/http1",
|
||||
"hyper?/http2",
|
||||
"hyper?/tcp",
|
||||
"rate-limited-stream",
|
||||
"tokio?/io-util",
|
||||
]
|
||||
client-sync = [ "client-trait", "http-helpers", "dep:ureq" ]
|
||||
client-trait = [ "dep:http" ]
|
||||
http-helpers = [ "dep:base64", "dep:http", "dep:proxmox-sys", "dep:serde_json", "dep:url" ]
|
||||
|
Loading…
Reference in New Issue
Block a user