]> git.proxmox.com Git - proxmox.git/blob - proxmox-http/Cargo.toml
bump proxmox-time dependency to 1.1.6
[proxmox.git] / proxmox-http / Cargo.toml
1 [package]
2 name = "proxmox-http"
3 edition.workspace = true
4 version = "0.9.0"
5 authors.workspace = true
6 license.workspace = true
7 repository.workspace = true
8 description = "Proxmox HTTP library"
9
10 exclude.workspace = true
11
12 [dependencies]
13 anyhow.workspace = true
14 base64 = { workspace = true, optional = true }
15 futures = { workspace = true, optional = true }
16 http = { workspace = true, optional = true }
17 hyper = { workspace = true, optional = true }
18 openssl = { version = "0.10", optional = true }
19 serde_json = { workspace = true, optional = true }
20 tokio = { workspace = true, features = [], optional = true }
21 tokio-openssl = { workspace = true, optional = true }
22 ureq = { version = "2.4", features = ["native-certs"], optional = true }
23 url = { workspace = true, optional = true }
24
25 proxmox-async = { workspace = true, optional = true }
26 proxmox-sys = { workspace = true, optional = true }
27 proxmox-io = { workspace = true, optional = true }
28 proxmox-lang = { workspace = true, optional = true }
29
30 [features]
31 default = []
32
33 rate-limiter = ["dep:hyper"]
34 rate-limited-stream = [
35 "dep:hyper",
36 "dep:tokio",
37 "hyper?/client",
38 "rate-limiter",
39 "tokio?/time",
40 ]
41 client = [
42 "dep:futures",
43 "dep:hyper",
44 "dep:openssl",
45 "dep:tokio",
46 "dep:tokio-openssl",
47 "http-helpers",
48 "hyper?/client",
49 "hyper?/http1",
50 "hyper?/http2",
51 "hyper?/tcp",
52 "rate-limited-stream",
53 "tokio?/io-util",
54 ]
55 client-sync = [ "client-trait", "http-helpers", "dep:ureq" ]
56 client-trait = [ "dep:http" ]
57 http-helpers = [ "dep:base64", "dep:http", "dep:proxmox-sys", "dep:serde_json", "dep:url" ]
58 websocket = [
59 "dep:base64",
60 "dep:futures",
61 "dep:hyper",
62 "dep:openssl",
63 "dep:proxmox-sys",
64 "dep:proxmox-io",
65 "proxmox-io?/tokio",
66 "dep:proxmox-lang",
67 "dep:tokio",
68 "tokio?/io-util",
69 "tokio?/sync",
70 ]