]> git.proxmox.com Git - proxmox.git/blob - proxmox-http/Cargo.toml
http: rustfmt
[proxmox.git] / proxmox-http / Cargo.toml
1 [package]
2 name = "proxmox-http"
3 edition = "2018"
4 version = "0.6.0"
5 authors = [
6 "Dietmar Maurer <dietmar@proxmox.com>",
7 "Wolfgang Bumiller <w.bumiller@proxmox.com>",
8 ]
9 license = "AGPL-3"
10 description = "Proxmox HTTP library"
11
12 exclude = [ "debian" ]
13
14 [dependencies]
15 anyhow = "1.0"
16 base64 = { version = "0.13", optional = true }
17 futures = { version = "0.3", optional = true }
18 http = { version = "0.2", optional = true }
19 hyper = { version = "0.14", features = [ "full" ], optional = true }
20 openssl = { version = "0.10", optional = true }
21 tokio = { version = "1.0", features = [], optional = true }
22 tokio-openssl = { version = "0.6.1", optional = true }
23
24 proxmox-sys = { path = "../proxmox-sys", optional = true, version = "0.2.0" }
25 proxmox-io = { path = "../proxmox-io", optional = true, version = "1.0.0" }
26 proxmox-lang = { path = "../proxmox-lang", optional = true, version = "1.1" }
27
28 [features]
29 default = []
30
31 client = [ "futures", "http-helpers", "openssl" ]
32 http-helpers = [ "base64", "http", "hyper", "tokio/io-util", "tokio-openssl", "proxmox-sys" ]
33 websocket = [
34 "base64",
35 "futures",
36 "hyper",
37 "openssl",
38 "proxmox-sys",
39 "proxmox-io/tokio",
40 "proxmox-lang",
41 "tokio/io-util",
42 "tokio/sync",
43 ]