proxmox/proxmox-router/Cargo.toml
Wolfgang Bumiller bedbaae252 router: bump to 2.2.2-1
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2024-07-31 10:08:25 +02:00

45 lines
1.2 KiB
TOML

[package]
name = "proxmox-router"
version = "2.2.2"
authors.workspace = true
edition.workspace = true
license.workspace = true
repository.workspace = true
description = "proxmox API Router and CLI utilities"
exclude.workspace = true
[[test]]
name = "docs"
path = "tests/docs.rs"
test = true
required-features = [ "cli" ]
[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 = { workspace = true, features = [ "derive" ] }
serde_json.workspace = true
serde_plain.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" ]