xbp_cli/lib.rs
1//! xbp core library
2//!
3//! modular toolkit for deploying building and configuring modern projects
4//! supports rust js node nextjs python expressjs and more
5//! provides extensibility scripting and cloud workflow integration
6//!
7//! architecture
8//! - commands cli subcommands as modular rust functions deploy ports logs etc
9//! - logging structured async file based logs with per command tracing
10//! - config load write validate config supports ssh yaml secrets
11//! - strategies project detection deploy logic extensibility for new systems
12//! - utils common utility functions version api integration
13
14#[cfg(all(feature = "kafka", windows))]
15compile_error!(
16 "Feature `kafka` is not supported on Windows for this crate because `rdkafka-sys` may require Unix tools (for example `cp`). Rebuild without `--features kafka`, or use Linux/WSL2 for Kafka-enabled builds."
17);
18
19#[allow(dead_code)]
20fn __pin_time_dependency() -> time::UtcOffset {
21 // Keep the exact `time` pin in the real build graph so `cargo install`
22 // does not float transitive actix/sentry dependencies to incompatible
23 // `time` releases.
24 time::UtcOffset::UTC
25}
26
27pub mod api;
28pub mod cli;
29pub mod commands;
30pub mod config;
31pub mod data;
32pub mod logging;
33pub mod openrouter;
34pub mod profile;
35pub mod project_detector;
36pub mod sdk;
37pub mod strategies;
38pub mod utils;