Skip to main content

mysql_replication/
lib.rs

1#![forbid(unsafe_code)]
2#![doc = include_str!("../README.md")]
3//! MySQL replication transport and borrowed binary-log events.
4//!
5//! Events describe the wire protocol. Filtering, row-to-change conversion,
6//! transaction delivery and checkpoint persistence belong to the consumer.
7pub mod config;
8mod error;
9pub mod event_type;
10pub mod events;
11pub mod file;
12mod frame;
13pub mod parser;
14pub mod primary_key;
15pub mod stream;
16pub mod version;
17mod wire;
18
19pub use error::{Error, Result};
20pub use events::{
21    BinlogEvent, BinlogMode, Event, EventData, EventHeader, Full, Minimal, OwnedBinlogEvent,
22};
23pub use frame::{BinlogFrame, EventView, FrameDecoder, MAX_EVENT_BYTES};
24pub use parser::BinlogParser;