apr-cli 0.2.1

CLI tool for APR model inspection, debugging, and operations
Documentation
[package]
name = "apr-cli"
version = "0.2.1"
edition = "2021"
rust-version = "1.70"
authors = ["Noah Gift <noah@paiml.com>"]
license = "MIT"
description = "CLI tool for APR model inspection, debugging, and operations"
repository = "https://github.com/paiml/aprender"
documentation = "https://docs.rs/apr-cli"
readme = "README.md"
keywords = ["machine-learning", "model-inspection", "cli", "debugging"]
categories = ["command-line-utilities", "science"]

[lints]
workspace = true

[lib]
name = "apr_cli"
path = "src/lib.rs"

[[bin]]
name = "apr"
path = "src/main.rs"

[features]
default = ["hf-hub", "safetensors-compare"]
hf-hub = ["aprender/hf-hub-integration"]
safetensors-compare = ["aprender/safetensors-compare"]
inference = ["realizar", "tokio", "axum"]

[dependencies]
# Core aprender library
aprender = { path = "../..", version = "0.20.1", default-features = true, features = ["format-compression"] }

# Inference engine (optional)
realizar = { version = "0.3.0", optional = true, default-features = false, features = ["server", "aprender-serve"] }

# Async runtime for server
tokio = { version = "1", features = ["rt-multi-thread", "macros", "signal"], optional = true }

# HTTP server (for serve command with inference feature)
axum = { version = "0.7", optional = true }

# CLI framework
clap = { version = "4.5", features = ["derive", "env", "wrap_help"] }

# Output formatting
colored = "2.1"
tabled = "0.16"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
rmp-serde = "1.3"

# Error handling
thiserror = "2.0"

# Time formatting
chrono = { version = "0.4", default-features = false, features = ["std", "clock"] }

# Human-readable sizes
humansize = "2.1"

# File/directory utilities
glob = "0.3"
dirs = "5.0"

# TUI
ratatui = { version = "0.29", default-features = true }
crossterm = "0.28"

[[example]]
name = "probar_tui_testing"
required-features = ["inference"]

[[example]]
name = "federation_tui_demo"
required-features = ["inference"]

[dev-dependencies]
assert_cmd = "2.0"
predicates = "3.1"
tempfile = "3.14"
proptest = "1.6"
jugar-probar = { version = "0.4", features = ["tui"] }
regex = "1.10"