deps_lsp/document/mod.rs
1//! Document management module.
2//!
3//! This module provides infrastructure for managing LSP documents:
4//! - `state`: Document and server state management
5//! - `lifecycle`: Document open/change event handling
6//! - `loader`: Disk-based document loading for cold start support
7
8mod lifecycle;
9mod loader;
10mod state;
11
12// Re-export all public items from submodules
13pub use lifecycle::{ensure_document_loaded, handle_document_change, handle_document_open};
14pub use loader::load_document_from_disk;
15pub use state::{
16 ColdStartLimiter, DocumentState, Ecosystem, LoadingState, ServerState, UnifiedDependency,
17 UnifiedVersion,
18};