fabro/crates/arc-cli/Cargo.toml
Bryan Helmkamp 99ad7ffe29 Extract server code into arc-api crate
Move HTTP server (Axum routes, JWT auth, serve CLI command, server
config) from arc-workflows into a dedicated arc-api crate. This
improves separation — arc-workflows is a pipeline engine library,
not a web server.

- Create crates/arc-api with server.rs, jwt_auth.rs, serve.rs,
  server_config.rs and their integration tests
- Remove server feature flag and optional deps from arc-workflows
- Update arc-cli to depend on arc-api for ServeArgs and serve_command

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-01 11:51:21 -05:00

28 lines
610 B
TOML

[package]
name = "arc-cli"
edition.workspace = true
version.workspace = true
license.workspace = true
description = "Unified CLI for the Arc AI framework"
[[bin]]
name = "arc"
path = "src/main.rs"
[dependencies]
arc-llm = { path = "../arc-llm" }
arc-agent = { path = "../arc-agent" }
arc-workflows = { path = "../arc-workflows" }
arc-api = { path = "../arc-api" }
arc-util = { path = "../arc-util" }
clap.workspace = true
anyhow.workspace = true
dotenvy.workspace = true
tokio.workspace = true
[dev-dependencies]
assert_cmd = "2"
predicates = "3"
tempfile = "3"
serde_json.workspace = true
httpmock = "0.8"