]> git.proxmox.com Git - proxmox.git/blob - proxmox/Cargo.toml
api/router: percent decode the components of the uri
[proxmox.git] / proxmox / Cargo.toml
1 [package]
2 name = "proxmox"
3 edition = "2018"
4 version = "0.1.40"
5 authors = [
6 "Dietmar Maurer <dietmar@proxmox.com>",
7 "Wolfgang Bumiller <w.bumiller@proxmox.com>",
8 ]
9 license = "AGPL-3"
10 description = "Proxmox library"
11
12 exclude = [ "debian" ]
13
14 [dependencies]
15 # General dependencies
16 anyhow = "1.0"
17 lazy_static = "1.4"
18 libc = "0.2"
19 nix = "0.16"
20
21 # tools module:
22 base64 = "0.12"
23 chrono = "0.4"
24 endian_trait = { version = "0.6", features = ["arrays"] }
25 regex = "1.2"
26 serde = { version = "1.0", features = ["derive"] }
27 serde_json = "1.0"
28 #valgrind_request = { git = "https://github.com/edef1c/libvalgrind_request", version = "1.1.0", optional = true }
29 # libc, nix, lazy_static
30
31 # sys module:
32 # libc, nix, lazy_static
33
34 # api module:
35 bytes = "0.5"
36 futures = "0.3"
37 http = "0.2"
38 hyper = { version = "0.13", optional = true }
39 percent-encoding = "2.1"
40 rustyline = "6"
41 serde_derive = "1.0"
42 textwrap = "0.11"
43 tokio = { version = "0.2", features = [], optional = true }
44 url = "2.1"
45 #regex, serde, serde_json
46
47 # Macro crates:
48 proxmox-api-macro = { path = "../proxmox-api-macro", optional = true, version = "0.1.8" }
49 proxmox-sortable-macro = { path = "../proxmox-sortable-macro", optional = true, version = "0.1.1" }
50
51 [features]
52 default = [ "router", "cli" ]
53 sortable-macro = ["proxmox-sortable-macro"]
54
55 # api:
56 api-macro = ["proxmox-api-macro"]
57 test-harness = []
58 cli = [ "router", "hyper", "tokio" ]
59 router = [ "hyper", "tokio" ]
60
61 # tools:
62 #valgrind = ["proxmox-tools/valgrind"]