Expand description
§use-event-log
Append-only in-memory event log wrapper for RustUse events.
§Install
[dependencies]
use-event-log = "0.1.0"§Example
use use_event_log::EventLog;
let mut log = EventLog::new();
log.append("command.started");
assert_eq!(log.last(), Some(&"command.started"));§Scope
- Keep ordered in-memory event entries.
- Provide append, entries, last, length, and emptiness helpers.
- Leave event storage policy to the caller.
§Non-Goals
- No file, database, or network persistence.
- No retention policy.
- No event sourcing framework.
§Status
Experimental v0.1.0 primitive.
§License
Licensed under either of the following, at your option:
- Apache License, Version 2.0
- MIT license