Skip to main content

Crate rewrit_protocol

Crate rewrit_protocol 

Source
Expand description

Versioned NDJSON protocol shared by Rewrit adapters and the engine.

Re-exports§

pub use adapter::AdapterCommand;
pub use adapter::AdapterRequest;
pub use events::AdapterEvent;
pub use events::DoctorReport;
pub use ndjson::decode_event_line;
pub use ndjson::decode_events;
pub use ndjson::encode_event_line;
pub use ndjson::encode_request_line;
pub use ndjson::ProtocolError;
pub use version::ADAPTER_REQUEST_SCHEMA_VERSION;
pub use version::EVENT_SCHEMA_VERSION;
pub use version::OBSERVATION_SCHEMA_VERSION;
pub use version::REPORT_SCHEMA_VERSION;

Modules§

adapter
events
ndjson
version