From 2f251facf156b6c89e6be3ba690261556baa02fa Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Tue, 24 Feb 2026 12:33:51 +0800 Subject: Implement SheetSystem core library Add IndexSource type for resource addressing and implement mapping system with LocalMapping, Mapping, and MappingBuf types. Create Sheet and SheetData structs for managing sheet data with editing capabilities. Implement binary format serialization/deserialization with reader and writer modules. Add constants for file format layout and comprehensive test suite for roundtrip verification. --- systems/_constants/src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'systems/_constants') diff --git a/systems/_constants/src/lib.rs b/systems/_constants/src/lib.rs index 03ca845..4b7919f 100644 --- a/systems/_constants/src/lib.rs +++ b/systems/_constants/src/lib.rs @@ -8,6 +8,8 @@ macro_rules! c { pub const TEMP_FILE_PREFIX: &str = ".tmp_"; pub const LOCK_FILE_PREFIX: &str = "~"; +pub const CURRENT_SHEET_VERSION: u8 = 0; + /// File and directory path constants for the server root #[allow(unused)] pub mod server { -- cgit