Files
moli/moli-core/src/lib.rs
ldm0 3bead42808 refactor(emulation): use native process-wide ICU defaults
Remove the Date/Intl wrappers, custom date parser and per-Page replay state. Keep exclusive locale/timezone ownership in a process controller and refresh existing Page and Worker isolates through generation-bound notifications and observation boundaries, including nested Inspector pauses.

Release claims on session/target/context retirement, retain native coercion and locale matching, and cover lifecycle restoration with Rust, BiDi and process-isolated CDP regressions.
2026-09-13 01:07:35 +08:00

37 lines
1.6 KiB
Rust

//! Stable facade crate for Moli.
//!
//! This crate is the public entry point for browser runtime APIs such as
//! `runtime`, `page`, `network`, and `protocol_types`, while the heavier
//! implementation now lives in the split internal crates.
mod config;
mod dom;
pub mod network;
pub mod page;
mod parser;
mod renderer;
pub mod runtime;
mod selector;
pub mod storage;
#[doc(hidden)]
pub mod testing;
pub use moli_page_types as protocol_types;
pub use moli_page_types::{LayoutPolicy, OptionalResourceFetchMask};
pub use moli_renderer_v8::ProcessEnvironmentOwner;
pub use moli_renderer_v8::renderer_output_transport_channel;
pub use moli_renderer_v8::{
PageId, RendererBrowserContextRuntimeId, RendererDocumentLifecycleIdentity,
RendererDocumentTitleChanged, RendererOutputCursor, RendererOutputFence,
RendererOutputFenceLeaseId, RendererOutputItem, RendererOutputPublication,
RendererOutputPublicationOrdering, RendererOutputRecord, RendererOutputResidenceIdentity,
RendererOutputStreamCloseReason, RendererOutputStreamControl, RendererOutputStreamEpoch,
RendererOutputStreamIdentity, RendererOutputTransportDiagnostics,
RendererOutputTransportMessage, RendererOutputTransportReceiver,
RendererOutputTransportSendError, RendererOutputTransportSender, RendererOwnerAction,
RendererOwnerLocalHostId, RendererOwnerResourceActivitySource,
RendererOwnerRuntimeActivitySource, RendererProtocolObservation,
RendererRuntimeCommandCausalIdentity, RendererRuntimeInspectorAsyncCompletion,
RendererRuntimeInspectorResponseChannel, RendererRuntimeInspectorResponseSender,
};