mirror of
https://git.proxmox.com/git/proxmox
synced 2025-08-06 01:19:34 +00:00

so that we no longer have to (or forget to) bump the version in multiple places. notable changes: - outdated versions have been unified - proxmox-metrics -> proxmox-async no longer uses explicit empty features (proxmox-async doesn't provide any anyway) - proxmox-subscription -> proxmox-http no longer uses explicit default_features = false (proxmox-http has an empty default feature anyway) - missing path dependencies added (mainly proxmox-rest-server) Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
50 lines
1.5 KiB
TOML
50 lines
1.5 KiB
TOML
[package]
|
|
name = "proxmox-http"
|
|
edition.workspace = true
|
|
version = "0.7.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 = []
|
|
|
|
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",
|
|
]
|