[package]
name = "boxlite-cli"
version.workspace = true
edition.workspace = true
authors.workspace = true
license.workspace = true
description = "Command-line interface for BoxLite container runtime"
repository = "https://github.com/boxlite-ai/boxlite"
keywords = ["vm", "sandbox", "cli", "container", "security"]
categories = ["command-line-utilities"]
readme = "README.md"
[[bin]]
name = "boxlite"
path = "src/main.rs"
[dependencies]
boxlite = { workspace = true, features = ["rest"] }
clap = { version = "4.5", features = ["derive", "env"] }
clap_complete = "4.5"
tokio = { version = "1.37", features = ["rt", "rt-multi-thread", "macros", "signal"] }
notify = "6.1"
futures = "0.3"
term_size = "0.3"
nix = { version = "0.30.1", features = ["term", "signal"] }
anyhow = "1.0"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["fmt", "env-filter", "json"] }
tracing-appender = "0.2"
async-stream = "0.3"
axum = { version = "0.8", features = ["macros", "ws"] }
base64 = "0.22"
tar = "0.4"
tempfile = "3"
tower-http = { version = "0.6", features = [
"cors",
"trace",
"request-id",
"catch-panic",
] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
serde_yaml = "0.9"
dirs = "6.0"
ulid = "1.1"
tabled = "0.17"
chrono = { version = "0.4.43", features = ["serde"] }
comfy-table = "7.2.1"
rpassword = "7"
toml = "0.8"
secrecy = { version = "0.10", features = ["serde"] }
openidconnect = { version = "4", default-features = false, features = ["reqwest", "rustls-tls", "accept-rfc3339-timestamps"] }
webbrowser = "1"
dialoguer = "0.11"
reqwest = { version = "0.12", features = ["json", "rustls-tls"], default-features = false }
url = "2"
gtmpl = "0.7"
gtmpl_value = "0.5"
[build-dependencies]
[dev-dependencies]
boxlite = { workspace = true, features = ["rest", "test-support"] }
boxlite-test-utils = { path = "../test-utils" }
assert_cmd = "2.1.1"
predicates = "3.1.3"
rstest = "0.21"
tempfile = "3.24.0"
[package.metadata.binstall]
pkg-url = "{ repo }/releases/download/v{ version }/boxlite-cli-v{ version }-{ target }.tar.gz"
bin-dir = "{ bin }{ binary-ext }"
pkg-fmt = "tgz"