Fixed: - CLI help typo: "metatdata" -> "metadata" - Filter buffer OOM: check size before loading into memory Changed: - #[inline] on HTML escape helpers for hot path performance - Replaced once_cell and lazy_static with std::sync::LazyLock - Removed unused once_cell and lazy_static crate dependencies Refactored: - Added module-level doc to services/ module Documentation: - README.md: zstd is native not external, "none" -> "raw" - DESIGN.md: current schema and meta plugins section - CHANGELOG.md: Unreleased section populated
23 lines
798 B
Rust
23 lines
798 B
Rust
/// Business logic services for the Keep application.
|
|
///
|
|
/// This module provides the core service layer that orchestrates item storage,
|
|
/// compression, metadata collection, and filtering. Services are used by both
|
|
/// local CLI modes and the HTTP server.
|
|
pub mod compression_service;
|
|
pub mod error;
|
|
pub mod filter_service;
|
|
pub mod item_service;
|
|
pub mod meta_service;
|
|
pub mod status_service;
|
|
pub mod types;
|
|
pub mod utils;
|
|
|
|
pub use compression_service::CompressionService;
|
|
pub use error::CoreError;
|
|
pub use filter_service::{FilterService, register_filter_plugin};
|
|
pub use item_service::ItemService;
|
|
pub use meta_service::MetaService;
|
|
pub use status_service::StatusService;
|
|
pub use types::{ItemInfo, ItemWithContent, ItemWithMeta};
|
|
pub use utils::{calc_byte_range, extract_tags, parse_comma_tags};
|