-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
55 lines (46 loc) · 1.55 KB
/
Copy pathCargo.toml
File metadata and controls
55 lines (46 loc) · 1.55 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
[package]
name = "clientapi-pve"
version = "0.1.0"
authors = ["OpenAPI Generator team and contributors"]
description = "Generated from apidoc.js. NOT an official Proxmox specification. See https://pve.proxmox.com/pve-docs/api-viewer/ for the upstream documentation."
license = "AGPL-3.0"
edition = "2021"
[dependencies]
serde = { version = "^1.0", features = ["derive"] }
serde_with = { version = "^3.8", default-features = false, features = ["base64", "std", "macros"] }
serde_json = "^1.0"
serde_repr = "^0.1"
url = "^2.5"
tokio = { version = "^1.46.0", features = ["fs", "rt-multi-thread", "macros", "net", "time"] }
reqwest = { version = "^0.13", default-features = false, features = ["json", "multipart", "query", "form"] }
# WebSocket helper dependencies. Pulled in only with `--features extras`.
[dependencies.tokio-tungstenite]
version = "^0.24"
optional = true
features = ["native-tls"]
[dependencies.futures-util]
version = "^0.3"
optional = true
[dependencies.thiserror]
version = "^1.0"
optional = true
[dependencies.urlencoding]
version = "^2.1"
optional = true
[dependencies.async-trait]
version = "^0.1"
optional = true
[dependencies.native-tls]
version = "^0.2"
optional = true
[features]
extras = ["dep:tokio-tungstenite", "dep:futures-util", "dep:thiserror", "dep:urlencoding", "dep:async-trait", "dep:native-tls"]
default = ["native-tls"]
native-tls = ["reqwest/native-tls"]
rustls = ["reqwest/rustls"]
# Hand-written E2E test deps; preserved across regen via .openapi-generator-ignore.
[dev-dependencies]
anyhow = "1"
sha2 = "0.10"
futures = "0.3"
hex = "0.4"