Skip to main content

clankerdiff_protocol/shared/
mod.rs

1mod document;
2mod error;
3mod event;
4mod message;
5mod transport;
6
7pub use document::{DiffSnapshot, DocumentUpdate, FileEntry};
8pub use error::{ProtocolError, RemoteError, RemoteErrorCode};
9pub use event::Event;
10pub use message::{LIVE_PROTOCOL_VERSION, MAX_MESSAGE_BYTES};
11pub use transport::{LocalEnd, TransportClosed};
12
13pub(crate) use message::{decode_json, encode_json};