]> git.proxmox.com Git - proxmox.git/blame - proxmox-http/Cargo.toml
http, shared-memory, subscription: bump proxmox-sys dependency to 0.4
[proxmox.git] / proxmox-http / Cargo.toml
CommitLineData
7b7e1413
FG
1[package]
2name = "proxmox-http"
3edition = "2018"
dc571157 4version = "0.6.4"
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 }
210d4fdb 24url = { version = "2", optional = true }
5153e68c 25
bd1f9f10 26proxmox-async = { path = "../proxmox-async", optional = true, version = "0.4.1" }
1d3f4a4b 27proxmox-sys = { path = "../proxmox-sys", optional = true, version = "0.4" }
4ccd6256 28proxmox-io = { path = "../proxmox-io", optional = true, version = "1.0.0" }
57d052af 29proxmox-lang = { path = "../proxmox-lang", optional = true, version = "1.1" }
7b7e1413
FG
30
31[features]
32default = []
33
94456ee4 34client = [ "futures", "http-helpers", "hyper/full", "openssl", "tokio/io-util", "tokio-openssl" ]
3c0486be 35client-trait = [ "http" ]
94456ee4 36http-helpers = [ "base64", "http", "proxmox-sys", "serde_json", "url" ]
4ccd6256
WB
37websocket = [
38 "base64",
39 "futures",
40 "hyper",
41 "openssl",
82245339 42 "proxmox-sys",
4ccd6256 43 "proxmox-io/tokio",
d4b41154 44 "proxmox-lang",
4ccd6256
WB
45 "tokio/io-util",
46 "tokio/sync",
47]