lighty-event-26.5.3 has been yanked.
lighty-event
Real-time event system for monitoring launcher operations and progress tracking.
Overview
lighty-event provides a publish-subscribe event system for:
- Real-time Progress Tracking - Download, install, and extraction progress
- Lifecycle Monitoring - Authentication, launch, and instance management
- Console Streaming - Live game console output (stdout/stderr)
- Multi-Subscriber Support - Broadcast to UI, logs, and analytics simultaneously
Quick Start
[]
= "26.5.1"
use ;
async
Event Categories
| Category | Description | Key Events |
|---|---|---|
| AuthEvent | Authentication flow | AuthenticationStarted, AuthenticationSuccess, AuthenticationFailed |
| JavaEvent | JRE management | JavaDownloadProgress, JavaExtractionProgress, JavaAlreadyInstalled |
| LaunchEvent | Game lifecycle | InstallStarted, InstallProgress, Launched, ProcessExited |
| LoaderEvent | Mod loaders | FetchingData, DataFetched, ManifestCached, MergingLoaderData |
| CoreEvent | System operations | DownloadStarted, ExtractionProgress, VerificationCompleted |
| InstanceEvent | Instance management | InstanceLaunched, ConsoleOutput, InstanceExited, InstanceDeleted |
Documentation
| Guide | Description |
|---|---|
| Overview | What this crate does |
| How to use | Subscribe / filter / fan-out patterns |
| Event Reference | Complete event catalog |
| Architecture | Event bus design and data flow |
| Module System | Event module organization |
| Exports | Public API surface |
License
MIT
Links
- Main Package: lighty-launcher
- Repository: GitHub
- Documentation: docs.rs/lighty-event