diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-06-18 02:47:32 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-06-18 02:47:32 +0800 |
| commit | 0b8e6e7d18abb94bd99553dc1d2b0ba5d4f265ea (patch) | |
| tree | 97a7c3430d56bfcb885cbfff0b011362671dd474 /rola-utils/constants/src | |
| parent | ebd46942c3fcc7939e5567a797a55198148301ea (diff) | |
refactor: extract shared utilities and add space-system crate
Extract rola-vcs/internal_macros into shared utils crates
(shared_constants, shared_macros, space-system) and implement
the Bucket enum with async space management
Diffstat (limited to 'rola-utils/constants/src')
| -rw-r--r-- | rola-utils/constants/src/common.rs | 7 | ||||
| -rw-r--r-- | rola-utils/constants/src/lib.rs | 5 |
2 files changed, 12 insertions, 0 deletions
diff --git a/rola-utils/constants/src/common.rs b/rola-utils/constants/src/common.rs new file mode 100644 index 0000000..6ce6bd8 --- /dev/null +++ b/rola-utils/constants/src/common.rs @@ -0,0 +1,7 @@ +#[shared_macros::constants] +mod consts { + /// Directory name for Rorolala metadata storage in Workdraft + pub const DRAFT_META_DIR: &str = ".rola"; +} + +pub use consts::*; diff --git a/rola-utils/constants/src/lib.rs b/rola-utils/constants/src/lib.rs new file mode 100644 index 0000000..566440d --- /dev/null +++ b/rola-utils/constants/src/lib.rs @@ -0,0 +1,5 @@ +//! Rorolala Constants +//! +//! This module records all constant information for Rorolala + +pub mod common; |
