]> git.proxmox.com Git - proxmox.git/blob - proxmox-router/Cargo.toml
update d/control files
[proxmox.git] / proxmox-router / Cargo.toml
1 [package]
2 name = "proxmox-router"
3 version = "1.3.0"
4 authors.workspace = true
5 edition.workspace = true
6 license.workspace = true
7 repository.workspace = true
8 description = "proxmox API Router and CLI utilities"
9
10 exclude.workspace = true
11
12 [dependencies]
13 anyhow.workspace = true
14 env_logger = { version = "0.9", optional = true }
15 http = { workspace = true, optional = true }
16 hyper = { workspace = true, features = [ "full" ], optional = true }
17 nix.workspace = true
18 percent-encoding.workspace = true
19 serde_json.workspace = true
20 serde.workspace = true
21 unicode-width ="0.1.8"
22
23 # cli:
24 tokio = { workspace = true, features = [], optional = true }
25 rustyline = { version = "9", optional = true }
26 libc = { workspace = true, optional = true }
27
28 proxmox-lang = { path = "../proxmox-lang", version = "1.1" }
29 proxmox-schema = { path = "../proxmox-schema", version = "1.1" }
30 proxmox-async = { path = "../proxmox-async", version = "0.4.1" }
31
32 [features]
33 default = [ "cli", "server" ]
34 cli = [ "dep:env_logger", "dep:libc", "dep:rustyline", "dep:tokio" ]
35 server = [ "dep:http", "dep:hyper" ]
36 test-harness = [ "proxmox-schema/test-harness" ]