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
+33
View File
@@ -0,0 +1,33 @@
//! # BAT CAS Engine
//!
//! Content Addressable Storage (CAS) 引擎核心实现
//!
//! 提供基于内容寻址的存储系统,支持:
//! - Hash 去重
//! - 引用计数
//! - 垃圾回收
//! - 多版本共享
//! - 完整性校验
#![warn(missing_docs)]
#![warn(clippy::all)]
pub mod error;
pub mod storage;
pub mod hash;
pub mod refcount;
pub use error::{CasError, Result};
/// CAS Engine 版本号
pub const VERSION: &str = env!("CARGO_PKG_VERSION");
#[cfg(test)]
mod tests {
use super::*;
#[test]
fn test_version() {
assert!(!VERSION.is_empty());
}
}