b62d76e80c
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
50 lines
1.5 KiB
TOML
50 lines
1.5 KiB
TOML
[package]
|
|
name = "proxmox-http"
|
|
edition.workspace = true
|
|
version = "0.8.0-alpha.1"
|
|
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 = []
|
|
|
|
client = [ "dep:futures", "http-helpers", "dep:hyper", "hyper?/full", "dep:openssl", "dep:tokio", "tokio?/io-util", "dep:tokio-openssl" ]
|
|
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",
|
|
]
|