Files
moli/moli-protocol/src/lib.rs
T
2026-08-11 00:10:12 +08:00

48 lines
2.2 KiB
Rust

//! Protocol-neutral DevTools owner and dispatch layer for Moli.
//!
//! This crate is being split away from the Chrome DevTools Protocol wire shape.
//! It still contains transitional CDP-named owner types, but protocol-specific
//! parsing and Chrome protocol metadata belong in
//! `moli-protocol-cdp`.
mod cdp_projection;
pub mod conn;
pub mod devtools_runtime;
pub mod domains;
#[cfg(feature = "test-support")]
pub mod test_support;
#[cfg(test)]
pub mod testing;
pub mod version;
pub use devtools_runtime::*;
pub use conn::{
BackgroundCommandResponsePayload, BackgroundNavigationGateKey, BackgroundProtocolEvent,
CdpCommandTaskStep, CdpConnection, CdpInitialStoragePartition, CdpRendererCommandAccess,
CdpRendererCommandReplacement, CdpRendererCommandReplayDispatch, CdpSchedulerEvent,
CdpTargetHostLifecycleDelta, CdpTargetHostLifecycleObserver, CdpTurnOutcome,
CommandDispatchContext, CommandResponseFlushContext, CommandResponseFlushPermit,
CompletedCdpCommandDispatch, CompletedDeferredMainDocumentLoadCompletion,
CompletedRuntimeProtocolMessageDispatch, DeferredMainDocumentLoadCompletionOutputAction,
DeferredMainDocumentLoadCompletionOutputInterest, DeferredMainDocumentLoadObservationId,
DeferredMainDocumentLoadPredecessorCandidate, DevToolsCommandDispatchOutcome,
DevToolsDocumentLifecycleWaitKey, DevToolsDocumentLifecycleWaitState,
DevToolsDocumentNavigationState, ParsedCdpCommand, PendingCdpCommandDispatch,
PendingDeferredMainDocumentLoadCompletion, PendingRuntimeProtocolMessageDispatch,
};
pub use domains::activity::{
ProtocolSchedulerWork, ProtocolSchedulerWorkKind, ProtocolWorkPublishSequence,
RuntimeCommandOutputBarrierCompletion, RuntimeCommandOutputBarrierPermit,
RuntimeCommandOutputBarrierTerminal, RuntimeCommandOutputBarriers,
};
pub use domains::page::{
BackgroundNavigationCompletion, CompletedPageScreencastCapture,
PageScreencastCaptureCompletion, PageScreencastCaptureStart, PageScreencastRegistration,
PageScreencastSubscriptionStatus, PendingPageScreencastCapture,
};
pub use domains::runtime::{
CompletedDevToolsRuntimeCommandDispatch, DevToolsRuntimeCommandTaskStep,
PendingDevToolsRuntimeCommandDispatch,
};