By placing the code for the parse executable inside a module inside the organic library, we only need to expose the entrypoint publicly rather than all functions it calls. This hides the event_count module, but I will be expanding the practice to the rest of the code base shortly. This is important for not inadvertently promising stability w.r.t. semver for essentially internal functions for development tools. It was the parse binary, not compare.
7 lines
141 B
Rust
7 lines
141 B
Rust
mod database;
|
|
mod event_type;
|
|
|
|
pub(crate) use database::record_event;
|
|
pub(crate) use database::report;
|
|
pub(crate) use event_type::EventType;
|