0f33d603ef
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
38 lines
1.1 KiB
TOML
38 lines
1.1 KiB
TOML
[package]
|
|
name = "proxmox-router"
|
|
version = "2.1.5"
|
|
authors.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
repository.workspace = true
|
|
description = "proxmox API Router and CLI utilities"
|
|
|
|
exclude.workspace = true
|
|
|
|
[dependencies]
|
|
anyhow.workspace = true
|
|
env_logger = { workspace = true, optional = true }
|
|
http = { workspace = true, optional = true }
|
|
hyper = { workspace = true, features = [ "full" ], optional = true }
|
|
nix.workspace = true
|
|
percent-encoding.workspace = true
|
|
serde_json.workspace = true
|
|
serde.workspace = true
|
|
unicode-width ="0.1.8"
|
|
regex = { workspace = true, optional = true }
|
|
|
|
# cli:
|
|
tokio = { workspace = true, features = [], optional = true }
|
|
rustyline = { version = "9", optional = true }
|
|
libc = { workspace = true, optional = true }
|
|
|
|
proxmox-http-error.workspace = true
|
|
proxmox-schema.workspace = true
|
|
proxmox-async.workspace = true
|
|
|
|
[features]
|
|
default = [ "cli", "server" ]
|
|
cli = [ "dep:env_logger", "dep:libc", "dep:rustyline", "dep:tokio", "dep:regex" ]
|
|
server = [ "dep:http", "dep:hyper" ]
|
|
test-harness = [ "proxmox-schema/test-harness" ]
|