]>
Commit | Line | Data |
---|---|---|
7b7e1413 FG |
1 | [package] |
2 | name = "proxmox-http" | |
64959d9a | 3 | edition.workspace = true |
68586726 | 4 | version = "0.9.1" |
64959d9a FG |
5 | authors.workspace = true |
6 | license.workspace = true | |
7 | repository.workspace = true | |
7b7e1413 FG |
8 | description = "Proxmox HTTP library" |
9 | ||
64959d9a | 10 | exclude.workspace = true |
7b7e1413 FG |
11 | |
12 | [dependencies] | |
41892214 FG |
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 } | |
5153e68c | 18 | openssl = { version = "0.10", optional = true } |
41892214 FG |
19 | serde_json = { workspace = true, optional = true } |
20 | tokio = { workspace = true, features = [], optional = true } | |
21 | tokio-openssl = { workspace = true, optional = true } | |
9c444d7a | 22 | ureq = { version = "2.4", features = ["native-certs"], optional = true } |
41892214 | 23 | url = { workspace = true, optional = true } |
5153e68c | 24 | |
e5abc059 FG |
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 } | |
7b7e1413 FG |
29 | |
30 | [features] | |
31 | default = [] | |
32 | ||
10a3ab22 | 33 | rate-limiter = ["dep:hyper"] |
b2c26f74 WB |
34 | rate-limited-stream = [ |
35 | "dep:hyper", | |
36 | "dep:tokio", | |
37 | "hyper?/client", | |
38 | "rate-limiter", | |
b2c26f74 WB |
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 | ] | |
9c444d7a | 55 | client-sync = [ "client-trait", "http-helpers", "dep:ureq" ] |
289d297c FG |
56 | client-trait = [ "dep:http" ] |
57 | http-helpers = [ "dep:base64", "dep:http", "dep:proxmox-sys", "dep:serde_json", "dep:url" ] | |
4ccd6256 | 58 | websocket = [ |
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 | ] |