]> git.proxmox.com Git - proxmox.git/blame - proxmox-http/Cargo.toml
bump proxmox-http to 0.9.1-1
[proxmox.git] / proxmox-http / Cargo.toml
CommitLineData
7b7e1413
FG
1[package]
2name = "proxmox-http"
64959d9a 3edition.workspace = true
68586726 4version = "0.9.1"
64959d9a
FG
5authors.workspace = true
6license.workspace = true
7repository.workspace = true
7b7e1413
FG
8description = "Proxmox HTTP library"
9
64959d9a 10exclude.workspace = true
7b7e1413
FG
11
12[dependencies]
41892214
FG
13anyhow.workspace = true
14base64 = { workspace = true, optional = true }
15futures = { workspace = true, optional = true }
16http = { workspace = true, optional = true }
17hyper = { workspace = true, optional = true }
5153e68c 18openssl = { version = "0.10", optional = true }
41892214
FG
19serde_json = { workspace = true, optional = true }
20tokio = { workspace = true, features = [], optional = true }
21tokio-openssl = { workspace = true, optional = true }
9c444d7a 22ureq = { version = "2.4", features = ["native-certs"], optional = true }
41892214 23url = { workspace = true, optional = true }
5153e68c 24
e5abc059
FG
25proxmox-async = { workspace = true, optional = true }
26proxmox-sys = { workspace = true, optional = true }
27proxmox-io = { workspace = true, optional = true }
28proxmox-lang = { workspace = true, optional = true }
7b7e1413
FG
29
30[features]
31default = []
32
10a3ab22 33rate-limiter = ["dep:hyper"]
b2c26f74
WB
34rate-limited-stream = [
35 "dep:hyper",
36 "dep:tokio",
37 "hyper?/client",
38 "rate-limiter",
b2c26f74
WB
39 "tokio?/time",
40]
41client = [
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]
9c444d7a 55client-sync = [ "client-trait", "http-helpers", "dep:ureq" ]
289d297c
FG
56client-trait = [ "dep:http" ]
57http-helpers = [ "dep:base64", "dep:http", "dep:proxmox-sys", "dep:serde_json", "dep:url" ]
4ccd6256 58websocket = [
289d297c
FG
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",
4ccd6256 70]