2 name = "proxmox-router"
4 authors.workspace = true
5 edition.workspace = true
6 license.workspace = true
7 repository.workspace = true
8 description = "proxmox API Router and CLI utilities"
10 exclude.workspace = true
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 }
18 percent-encoding.workspace = true
19 serde_json.workspace = true
20 serde.workspace = true
21 unicode-width ="0.1.8"
24 tokio = { workspace = true, features = [], optional = true }
25 rustyline = { version = "9", optional = true }
26 libc = { workspace = true, optional = true }
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" }
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" ]