]> git.proxmox.com Git - proxmox.git/blob - proxmox/Cargo.toml
bump proxmox version to 0.3.0-1
[proxmox.git] / proxmox / Cargo.toml
1 [package]
2 name = "proxmox"
3 edition = "2018"
4 version = "0.3.0"
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 = { version = "0.3", optional = true }
37 http = "0.2"
38 hyper = { version = "0.13", optional = true }
39 percent-encoding = "2.1"
40 openssl = { version = "0.10", optional = true }
41 rustyline = "6"
42 serde_derive = "1.0"
43 textwrap = "0.11"
44 tokio = { version = "0.2", features = [], optional = true }
45 url = "2.1"
46 #regex, serde, serde_json
47
48 # Macro crates:
49 proxmox-api-macro = { path = "../proxmox-api-macro", optional = true, version = "0.2.0" }
50 proxmox-sortable-macro = { path = "../proxmox-sortable-macro", optional = true, version = "0.1.1" }
51
52 [features]
53 default = [ "router", "cli", "websocket" ]
54 sortable-macro = ["proxmox-sortable-macro"]
55
56 # api:
57 api-macro = ["proxmox-api-macro"]
58 test-harness = []
59 cli = [ "router", "hyper", "tokio" ]
60 router = [ "hyper", "tokio" ]
61 websocket = [ "futures", "hyper", "openssl", "tokio/sync", "tokio/io-util", "openssl" ]
62
63 # tools:
64 #valgrind = ["proxmox-tools/valgrind"]