2021-05-14 16:44:38 +03:00
[ package ]
name = "proxmox-http"
2022-12-06 14:18:46 +03:00
edition . workspace = true
2023-01-30 13:29:07 +03:00
version = "0.8.0"
2022-12-06 14:18:46 +03:00
authors . workspace = true
license . workspace = true
repository . workspace = true
2021-05-14 16:44:38 +03:00
description = "Proxmox HTTP library"
2022-12-06 14:18:46 +03:00
exclude . workspace = true
2021-05-14 16:44:38 +03:00
[ dependencies ]
2022-12-06 15:43:42 +03:00
anyhow . workspace = true
base64 = { workspace = true , optional = true }
futures = { workspace = true , optional = true }
http = { workspace = true , optional = true }
hyper = { workspace = true , optional = true }
2021-05-14 16:44:39 +03:00
openssl = { version = "0.10" , optional = true }
2022-12-06 15:43:42 +03:00
serde_json = { workspace = true , optional = true }
tokio = { workspace = true , features = [ ] , optional = true }
tokio-openssl = { workspace = true , optional = true }
2022-08-04 11:01:13 +03:00
ureq = { version = "2.4" , features = [ "native-certs" ] , optional = true }
2022-12-06 15:43:42 +03:00
url = { workspace = true , optional = true }
2021-05-14 16:44:39 +03:00
2022-12-07 10:42:52 +03: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 }
2021-05-14 16:44:38 +03:00
[ features ]
default = [ ]
2023-01-25 13:43:01 +03:00
rate-limiter = [ "dep:hyper" ]
2023-01-25 13:51:27 +03:00
rate-limited-stream = [
"dep:hyper" ,
"dep:tokio" ,
"hyper?/client" ,
"rate-limiter" ,
"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" ,
]
2022-08-04 11:01:13 +03:00
client-sync = [ "client-trait" , "http-helpers" , "dep:ureq" ]
2022-08-22 12:24:04 +03:00
client-trait = [ "dep:http" ]
http-helpers = [ "dep:base64" , "dep:http" , "dep:proxmox-sys" , "dep:serde_json" , "dep:url" ]
2021-10-08 09:51:19 +03:00
websocket = [
2022-08-22 12:24:04 +03: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 09:51:19 +03:00
]