]> git.proxmox.com Git - proxmox.git/blob - proxmox/Cargo.toml
remove chrono dependency and related code
[proxmox.git] / proxmox / Cargo.toml
1 [package]
2 name = "proxmox"
3 edition = "2018"
4 version = "0.3.7"
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 endian_trait = { version = "0.6", features = ["arrays"] }
24 regex = "1.2"
25 serde = { version = "1.0", features = ["derive"] }
26 serde_json = "1.0"
27 #valgrind_request = { git = "https://github.com/edef1c/libvalgrind_request", version = "1.1.0", optional = true }
28 # libc, nix, lazy_static
29
30 # sys module:
31 # libc, nix, lazy_static
32
33 # api module:
34 bytes = "0.5"
35 futures = { version = "0.3", optional = true }
36 http = "0.2"
37 hyper = { version = "0.13", optional = true }
38 percent-encoding = "2.1"
39 openssl = { version = "0.10", optional = true }
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.2.0" }
49 proxmox-sortable-macro = { path = "../proxmox-sortable-macro", optional = true, version = "0.1.1" }
50
51 [features]
52 default = [ "router", "cli", "websocket" ]
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 websocket = [ "futures", "hyper", "openssl", "tokio/sync", "tokio/io-util", "openssl" ]
61
62 # tools:
63 #valgrind = ["proxmox-tools/valgrind"]