2021-10-07 10:36:06 +03:00
[ package ]
name = "proxmox-router"
2024-09-20 09:42:25 +03:00
description = "proxmox API Router and CLI utilities"
2024-09-04 16:31:28 +03:00
version = "3.0.0"
2024-09-20 09:42:25 +03:00
2022-12-06 14:18:46 +03:00
authors . workspace = true
edition . workspace = true
2024-09-20 09:42:25 +03:00
exclude . workspace = true
homepage . workspace = true
2022-12-06 14:18:46 +03:00
license . workspace = true
repository . workspace = true
2024-09-20 09:42:25 +03:00
rust-version . workspace = true
2021-10-07 10:36:06 +03:00
2024-06-26 16:49:45 +03:00
[ [ test ] ]
name = "docs"
path = "tests/docs.rs"
test = true
required-features = [ "cli" ]
2021-10-07 10:36:06 +03:00
[ dependencies ]
2022-12-06 15:43:42 +03:00
anyhow . workspace = true
2023-09-28 10:59:48 +03:00
env_logger = { workspace = true , optional = true }
2024-08-23 12:15:58 +03:00
futures . workspace = true
2022-12-06 15:43:42 +03:00
http = { workspace = true , optional = true }
hyper = { workspace = true , features = [ "full" ] , optional = true }
nix . workspace = true
percent-encoding . workspace = true
2024-07-26 10:13:28 +03:00
serde = { workspace = true , features = [ "derive" ] }
2022-12-06 15:43:42 +03:00
serde_json . workspace = true
2024-07-26 10:13:28 +03:00
serde_plain . workspace = true
2021-10-07 10:36:06 +03:00
unicode-width = "0.1.8"
# cli:
2022-06-02 12:59:00 +03:00
rustyline = { version = "9" , optional = true }
2022-12-06 15:43:42 +03:00
libc = { workspace = true , optional = true }
2021-10-07 10:36:06 +03:00
2023-07-26 17:18:22 +03:00
proxmox-http-error . workspace = true
2022-12-07 10:42:52 +03:00
proxmox-schema . workspace = true
proxmox-async . workspace = true
2021-10-07 10:36:06 +03:00
2024-08-23 12:15:58 +03:00
[ dev-dependencies ]
tokio . workspace = true
tokio-stream . workspace = true
2021-10-07 10:36:06 +03:00
[ features ]
2022-08-03 15:44:53 +03:00
default = [ "cli" , "server" ]
2024-09-04 12:20:11 +03:00
cli = [ "stream" , "dep:env_logger" , "dep:libc" , "dep:rustyline" ]
2022-08-03 15:44:53 +03:00
server = [ "dep:http" , "dep:hyper" ]
2021-10-07 10:36:06 +03:00
test-harness = [ "proxmox-schema/test-harness" ]
2024-09-04 12:20:11 +03:00
stream = [ "dep:hyper" ]