2021-05-14 15:44:38 +02:00
[ package ]
name = "proxmox-http"
2024-09-20 08:42:25 +02:00
description = "Proxmox HTTP library"
2024-07-11 15:08:18 +02:00
version = "0.9.3"
2024-09-20 08:42:25 +02:00
2022-12-06 12:18:46 +01:00
authors . workspace = true
2024-09-20 08:42:25 +02:00
edition . workspace = true
exclude . workspace = true
homepage . workspace = true
2022-12-06 12:18:46 +01:00
license . workspace = true
repository . workspace = true
2024-09-20 08:42:25 +02:00
rust-version . workspace = true
2021-05-14 15:44:38 +02:00
[ dependencies ]
2022-12-06 13:43:42 +01:00
anyhow . workspace = true
base64 = { workspace = true , optional = true }
futures = { workspace = true , optional = true }
http = { workspace = true , optional = true }
hyper = { workspace = true , optional = true }
2024-10-24 11:45:04 +02:00
native-tls = { workspace = true , optional = true }
2021-05-14 15:44:39 +02:00
openssl = { version = "0.10" , optional = true }
2022-12-06 13:43:42 +01:00
serde_json = { workspace = true , optional = true }
tokio = { workspace = true , features = [ ] , optional = true }
tokio-openssl = { workspace = true , optional = true }
2024-10-24 11:45:04 +02:00
ureq = { version = "2.4" , features = [ "native-certs" , "native-tls" ] , optional = true , default-features = false }
2022-12-06 13:43:42 +01:00
url = { workspace = true , optional = true }
2021-05-14 15:44:39 +02:00
2022-12-07 08:42:52 +01:00
proxmox-async = { workspace = true , optional = true }
proxmox-sys = { workspace = true , optional = true }
proxmox-io = { workspace = true , optional = true }
proxmox-lang = { workspace = true , optional = true }
2024-07-05 15:04:32 +02:00
proxmox-compression = { workspace = true , optional = true }
[ dev-dependencies ]
tokio = { workspace = true , features = [ "macros" ] }
flate2 = { workspace = true }
2021-05-14 15:44:38 +02:00
[ features ]
default = [ ]
2023-01-25 11:43:01 +01:00
rate-limiter = [ "dep:hyper" ]
2023-01-25 11:51:27 +01:00
rate-limited-stream = [
"dep:hyper" ,
"dep:tokio" ,
"hyper?/client" ,
"rate-limiter" ,
"tokio?/time" ,
]
client = [
"dep:futures" ,
"dep:hyper" ,
"dep:openssl" ,
2024-07-05 15:04:32 +02:00
"dep:proxmox-compression" ,
2023-01-25 11:51:27 +01:00
"dep:tokio" ,
"dep:tokio-openssl" ,
"http-helpers" ,
"hyper?/client" ,
"hyper?/http1" ,
"hyper?/http2" ,
2024-07-05 15:04:32 +02:00
"hyper?/stream" ,
2023-01-25 11:51:27 +01:00
"hyper?/tcp" ,
"rate-limited-stream" ,
"tokio?/io-util" ,
]
2024-10-24 11:45:04 +02:00
client-sync = [ "client-trait" , "http-helpers" , "dep:ureq" , "dep:native-tls" ]
2022-08-22 11:24:04 +02:00
client-trait = [ "dep:http" ]
http-helpers = [ "dep:base64" , "dep:http" , "dep:proxmox-sys" , "dep:serde_json" , "dep:url" ]
2021-10-08 08:51:19 +02:00
websocket = [
2022-08-22 11:24:04 +02:00
"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" ,
2021-10-08 08:51:19 +02:00
]