]> git.proxmox.com Git - proxmox.git/blob - proxmox/Cargo.toml
bump proxmox to 0.10.1-1
[proxmox.git] / proxmox / Cargo.toml
1 [package]
2 name = "proxmox"
3 edition = "2018"
4 version = "0.10.1"
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 [[example]]
15 name = "u2ftest"
16 required-features = [ "tokio", "tokio-stream", "u2f" ]
17
18 [dependencies]
19 # General dependencies
20 anyhow = "1.0"
21 lazy_static = "1.4"
22 libc = "0.2"
23 nix = "0.19.1"
24
25 # tools module:
26 base32 = { version = "0.4", optional = true }
27 base64 = "0.12"
28 endian_trait = { version = "0.6", features = ["arrays"] }
29 regex = "1.2"
30 serde = { version = "1.0", features = ["derive"] }
31 serde_json = "1.0"
32 #valgrind_request = { git = "https://github.com/edef1c/libvalgrind_request", version = "1.1.0", optional = true }
33 # libc, nix, lazy_static
34
35 # sys module:
36 # libc, nix, lazy_static
37
38 # api module:
39 bytes = "1.0"
40 futures = { version = "0.3", optional = true }
41 http = "0.2"
42 hyper = { version = "0.14", features = [ "full" ], optional = true }
43 percent-encoding = "2.1"
44 openssl = { version = "0.10", optional = true }
45 rustyline = "7"
46 serde_derive = "1.0"
47 textwrap = "0.11"
48 tokio = { version = "1.0", features = [], optional = true }
49 tokio-stream = { version = "0.1.1", optional = true }
50 url = "2.1"
51 #regex, serde, serde_json
52
53 # Macro crates:
54 proxmox-api-macro = { path = "../proxmox-api-macro", optional = true, version = "0.3.1" }
55 proxmox-sortable-macro = { path = "../proxmox-sortable-macro", optional = true, version = "0.1.1" }
56
57 [features]
58 default = [ "cli", "router", "tfa", "u2f", "websocket" ]
59 sortable-macro = ["proxmox-sortable-macro"]
60
61 # api:
62 api-macro = ["proxmox-api-macro"]
63 test-harness = []
64 cli = [ "router", "hyper", "tokio" ]
65 router = [ "hyper", "tokio" ]
66 websocket = [ "futures", "hyper", "openssl", "tokio/sync", "tokio/io-util", "openssl" ]
67 tfa = [ "openssl" ]
68 u2f = [ "base32" ]
69
70 examples = ["tokio/macros", "u2f"]
71
72 # tools:
73 #valgrind = ["proxmox-tools/valgrind"]