proxmox/proxmox-router/Cargo.toml

34 lines
885 B
TOML
Raw Normal View History

[package]
name = "proxmox-router"
version = "1.2.0"
authors = ["Proxmox Support Team <support@proxmox.com>"]
edition = "2018"
license = "AGPL-3"
description = "proxmox API Router and CLI utilities"
exclude = [ "debian" ]
[dependencies]
anyhow = "1.0"
http = "0.2"
hyper = { version = "0.14", features = [ "full" ] }
nix = "0.19.1"
percent-encoding = "2.1"
serde_json = "1.0"
serde = "1.0"
unicode-width ="0.1.8"
# cli:
tokio = { version = "1.0", features = [], optional = true }
rustyline = { version = "7", optional = true }
libc = { version = "0.2", optional = true }
proxmox-lang = { path = "../proxmox-lang", version = "1.1" }
proxmox-schema = { path = "../proxmox-schema", version = "1.1" }
proxmox-async = { path = "../proxmox-async", version = "0.4.1" }
[features]
default = [ "cli" ]
cli = [ "libc", "rustyline", "tokio" ]
test-harness = [ "proxmox-schema/test-harness" ]