chore: establish development baseline

This commit is contained in:
2026-06-28 01:27:09 +08:00
commit dd53e3054e
131 changed files with 19327 additions and 0 deletions
+36
View File
@@ -0,0 +1,36 @@
//! # BAT Core - 核心领域层
//!
//! BlueArchive Toolkit 的核心领域模型和业务逻辑
//!
//! 本模块包含:
//! - 领域对象(Domain Objects
//! - 仓储接口(Repository Interfaces
//! - 领域服务(Domain Services
//!
//! 设计原则:
//! - 领域层不依赖任何外部技术细节
//! - 所有依赖通过接口注入
//! - 纯粹的业务逻辑
#![warn(missing_docs)]
#![warn(clippy::all)]
pub mod domain;
pub mod error;
pub mod repositories;
pub mod services;
pub use error::{Error, Result};
/// Core 版本号
pub const VERSION: &str = env!("CARGO_PKG_VERSION");
#[cfg(test)]
mod tests {
use super::*;
#[test]
fn test_version() {
assert!(!VERSION.is_empty());
}
}