]> git.proxmox.com Git - proxmox.git/blame - proxmox-http/Cargo.toml
update d/control files
[proxmox.git] / proxmox-http / Cargo.toml
CommitLineData
7b7e1413
FG
1[package]
2name = "proxmox-http"
3edition = "2018"
5b90667d 4version = "0.7.0"
7b7e1413
FG
5authors = [
6 "Dietmar Maurer <dietmar@proxmox.com>",
7 "Wolfgang Bumiller <w.bumiller@proxmox.com>",
8]
9license = "AGPL-3"
10description = "Proxmox HTTP library"
11
12exclude = [ "debian" ]
13
14[dependencies]
5153e68c 15anyhow = "1.0"
dc14d031 16base64 = { version = "0.13", optional = true }
5153e68c 17futures = { version = "0.3", optional = true }
f305be95 18http = { version = "0.2", optional = true }
94456ee4 19hyper = { version = "0.14", default_features = false, optional = true }
5153e68c 20openssl = { version = "0.10", optional = true }
210d4fdb 21serde_json = { version = "1.0", optional = true }
5153e68c 22tokio = { version = "1.0", features = [], optional = true }
6c502851 23tokio-openssl = { version = "0.6.1", optional = true }
9c444d7a 24ureq = { version = "2.4", features = ["native-certs"], optional = true }
210d4fdb 25url = { version = "2", optional = true }
5153e68c 26
bd1f9f10 27proxmox-async = { path = "../proxmox-async", optional = true, version = "0.4.1" }
1d3f4a4b 28proxmox-sys = { path = "../proxmox-sys", optional = true, version = "0.4" }
4ccd6256 29proxmox-io = { path = "../proxmox-io", optional = true, version = "1.0.0" }
57d052af 30proxmox-lang = { path = "../proxmox-lang", optional = true, version = "1.1" }
7b7e1413
FG
31
32[features]
33default = []
34
289d297c 35client = [ "dep:futures", "http-helpers", "dep:hyper", "hyper?/full", "dep:openssl", "dep:tokio", "tokio?/io-util", "dep:tokio-openssl" ]
9c444d7a 36client-sync = [ "client-trait", "http-helpers", "dep:ureq" ]
289d297c
FG
37client-trait = [ "dep:http" ]
38http-helpers = [ "dep:base64", "dep:http", "dep:proxmox-sys", "dep:serde_json", "dep:url" ]
4ccd6256 39websocket = [
289d297c
FG
40 "dep:base64",
41 "dep:futures",
42 "dep:hyper",
43 "dep:openssl",
44 "dep:proxmox-sys",
45 "dep:proxmox-io",
46 "proxmox-io?/tokio",
47 "dep:proxmox-lang",
48 "dep:tokio",
49 "tokio?/io-util",
50 "tokio?/sync",
4ccd6256 51]