]> git.proxmox.com Git - proxmox.git/blob - proxmox/Cargo.toml
bump librust-proxmox version to 0.1.13-1
[proxmox.git] / proxmox / Cargo.toml
1 [package]
2 name = "proxmox"
3 edition = "2018"
4 version = "0.1.13"
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 failure = "0.1"
17 lazy_static = "1.4"
18 libc = "0.2"
19 nix = "0.16"
20
21 # tools module:
22 base64 = "0.10"
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 rustyline = "5.0.5"
40 serde_derive = "1.0"
41 textwrap = "0.11"
42 tokio = { version = "0.2", features = [], optional = true }
43 url = "2.1"
44 #regex, serde, serde_json
45
46 # Macro crates:
47 proxmox-api-macro = { path = "../proxmox-api-macro", optional = true, version = "0.1.3" }
48 proxmox-sortable-macro = { path = "../proxmox-sortable-macro", optional = true, version = "0.1.0" }
49
50 [features]
51 default = [ "router", "cli" ]
52 sortable-macro = ["proxmox-sortable-macro"]
53
54 # api:
55 api-macro = ["proxmox-api-macro"]
56 test-harness = []
57 cli = [ "router", "hyper", "tokio" ]
58 router = [ "hyper", "tokio" ]
59
60 # tools:
61 #valgrind = ["proxmox-tools/valgrind"]