]> git.proxmox.com Git - proxmox.git/blob - proxmox-client/Cargo.toml
ldap: avoid superfluous allocation when calling .search()
[proxmox.git] / proxmox-client / Cargo.toml
1 [package]
2 name = "proxmox-client"
3 version = "0.3.1"
4 description = "Base client for proxmox APIs for handling login and ticket renewal"
5 authors.workspace = true
6 license.workspace = true
7 edition.workspace = true
8 exclude.workspace = true
9 repository.workspace = true
10
11 [dependencies]
12 anyhow.workspace = true
13 base64.workspace = true
14 hex.workspace = true
15 http.workspace = true
16 once_cell.workspace = true
17 percent-encoding.workspace = true
18 regex.workspace = true
19 serde.workspace = true
20 serde_json.workspace = true
21 serde_plain.workspace = true
22
23 # wasm-incompatible dependencies must stay optional
24 log = { workspace = true, optional = true }
25 openssl = { workspace = true, optional = true }
26
27 proxmox-login = { workspace = true, features = [ "http" ] }
28 webauthn-rs = { workspace = true, optional = true }
29
30 proxmox-http = { workspace = true, optional = true, features = [ "client" ] }
31 hyper = { workspace = true, optional = true }
32
33 proxmox-section-config.workspace = true
34 proxmox-schema = { workspace = true, features = [ "api-macro" ] }
35
36 [features]
37 default = []
38 hyper-client = [ "dep:openssl", "dep:hyper", "dep:proxmox-http", "dep:log" ]
39 webauthn = [ "dep:webauthn-rs", "proxmox-login/webauthn" ]