[package] name = "proxmox-http" edition.workspace = true version = "0.8.0" authors.workspace = true license.workspace = true repository.workspace = true description = "Proxmox HTTP library" exclude.workspace = true [dependencies] anyhow.workspace = true base64 = { workspace = true, optional = true } futures = { workspace = true, optional = true } http = { workspace = true, optional = true } hyper = { workspace = true, optional = true } openssl = { version = "0.10", optional = true } serde_json = { workspace = true, optional = true } tokio = { workspace = true, features = [], optional = true } tokio-openssl = { workspace = true, optional = true } ureq = { version = "2.4", features = ["native-certs"], optional = true } url = { workspace = true, optional = true } proxmox-async = { workspace = true, optional = true } proxmox-sys = { workspace = true, optional = true } proxmox-io = { workspace = true, optional = true } proxmox-lang = { workspace = true, optional = true } [features] default = [] rate-limiter = ["dep:hyper"] 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", ] 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" ] websocket = [ "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", ]