- Add comprehensive documentation in botbook/ with 12 chapters - Add botapp/ Tauri desktop application - Add botdevice/ IoT device support - Add botlib/ shared library crate - Add botmodels/ Python ML models service - Add botplugin/ browser extension - Add botserver/ reorganized server code - Add bottemplates/ bot templates - Add bottest/ integration tests - Add botui/ web UI server - Add CI/CD workflows in .forgejo/workflows/ - Add AGENTS.md and PROD.md documentation - Add dependency management scripts (DEPENDENCIES.sh/ps1) - Remove legacy src/ structure and migrations - Clean up temporary and backup files
41 lines
879 B
Rust
41 lines
879 B
Rust
#![allow(dead_code)]
|
|
#![allow(unused_imports)]
|
|
#![allow(unused_variables)]
|
|
|
|
pub mod bot;
|
|
pub mod desktop;
|
|
pub mod fixtures;
|
|
mod harness;
|
|
pub mod mocks;
|
|
mod ports;
|
|
pub mod services;
|
|
pub mod web;
|
|
|
|
pub use harness::{
|
|
BotServerInstance, BotUIInstance, Insertable, TestConfig, TestContext, TestHarness,
|
|
};
|
|
pub use ports::PortAllocator;
|
|
|
|
pub mod prelude {
|
|
pub use crate::bot::*;
|
|
pub use crate::fixtures::*;
|
|
pub use crate::harness::{
|
|
BotServerInstance, BotUIInstance, Insertable, TestConfig, TestContext, TestHarness,
|
|
};
|
|
pub use crate::mocks::*;
|
|
pub use crate::services::*;
|
|
|
|
pub use chrono::{DateTime, Utc};
|
|
pub use serde_json::json;
|
|
pub use tokio;
|
|
pub use uuid::Uuid;
|
|
}
|
|
|
|
#[cfg(test)]
|
|
mod tests {
|
|
#[test]
|
|
fn test_library_loads() {
|
|
let version = env!("CARGO_PKG_VERSION");
|
|
assert!(!version.is_empty());
|
|
}
|
|
}
|