b21034b485
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
78 lines
2.0 KiB
TOML
78 lines
2.0 KiB
TOML
[package]
|
|
name = "proxmox-http"
|
|
edition.workspace = true
|
|
version = "0.9.3"
|
|
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 }
|
|
proxmox-compression = { workspace = true, optional = true }
|
|
|
|
[dev-dependencies]
|
|
tokio = { workspace = true, features = [ "macros" ] }
|
|
flate2 = { workspace = 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:proxmox-compression",
|
|
"dep:tokio",
|
|
"dep:tokio-openssl",
|
|
"http-helpers",
|
|
"hyper?/client",
|
|
"hyper?/http1",
|
|
"hyper?/http2",
|
|
"hyper?/stream",
|
|
"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",
|
|
]
|