use-event-envelope
Generic event envelope composed from RustUse event primitives.
Install
[]
= "0.1.0"
Example
use EventEnvelope;
use EventKind;
use EventName;
use EventSource;
let event = new;
assert_eq!;
assert_eq!;
Scope
- Compose event id, name, kind, source, target, timestamp, metadata, and caller-owned payload values.
- Provide builder-style helpers for caller-supplied ids, targets, metadata, and timestamps.
- Use
EventId::default()innewbecause v0.1.0 intentionally does not generate identifiers.
Non-Goals
- No UUID generation.
- No serialization or persistence.
- No dispatch, queue, broker, scheduler, or runtime behavior.
Status
Experimental v0.1.0 primitive.
License
Licensed under either of the following, at your option:
- Apache License, Version 2.0
- MIT license