fabro/lib/crates/arc-api/src/lib.rs
Bryan Helmkamp 11414c15b2 Add arc-config crate and make arc-api optional via server feature flag
Centralizes config types (ServerConfig, CliConfig, expand_tilde) into a
new arc-config crate. Makes arc-api an optional dependency of arc-cli
behind a default-on "server" feature flag, so CLI-only builds skip heavy
server deps (axum, tower, hyper, sqlx, arc-db, arc-types).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 23:50:41 -04:00

11 lines
191 B
Rust

mod demo;
pub mod error;
pub mod github_webhooks;
pub mod jwt_auth;
pub mod serve;
pub mod server;
pub mod server_config {
pub use arc_config::server::*;
}
pub mod sessions;
pub mod tls;