# use-event
Feature-gated facade crate for `RustUse` event primitives.
## Install
```toml
[dependencies]
use-event = "0.1.0"
```
Selected features only:
```toml
[dependencies]
use-event = { version = "0.1.0", default-features = false, features = ["envelope", "log"] }
```
## Example
```rust
#[cfg(feature = "full")]
{
use use_event::{EventEnvelope, EventKind, EventName, EventSource};
let event = EventEnvelope::new(
EventName::new("command.started"),
EventKind::Started,
EventSource::new("cli"),
"rustuse build",
);
assert_eq!(event.name.as_str(), "command.started");
}
```
## Scope
- Re-export focused `use-event-*` crates behind opt-in features.
- Provide nested modules that mirror child crate names.
- Provide a small prelude of common primitive event types.
## Non-Goals
- No implementation logic in this facade.
- No broker, queue, scheduler, runtime, or persistence layer.
- No serialization, UUID, async, or event framework behavior.
## Status
Experimental v0.1.0 facade.
## License
Licensed under either of the following, at your option:
- Apache License, Version 2.0
- MIT license