Expand description
§use-event-source
Lightweight event source primitive for RustUse.
§Install
[dependencies]
use-event-source = "0.1.0"§Example
use use_event_source::EventSource;
let source = EventSource::new("cli");
assert_eq!(source.as_str(), "cli");
assert_eq!(source.to_string(), "cli");§Scope
- Store caller-provided event source text.
- Provide common string conversions and display behavior.
- Support simple envelope source labeling.
§Non-Goals
- No source registry.
- No trust or identity verification.
- No transport integration.
§Status
Experimental v0.1.0 primitive.
§License
Licensed under either of the following, at your option:
- Apache License, Version 2.0
- MIT license