https://github.com/lightsing/comet-eventbus
Univeral Eventbus for Rust
https://github.com/lightsing/comet-eventbus
asynchronous eventbus rust
Last synced: 3 months ago
JSON representation
Univeral Eventbus for Rust
- Host: GitHub
- URL: https://github.com/lightsing/comet-eventbus
- Owner: lightsing
- Created: 2022-07-14T19:34:55.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2023-08-15T10:45:31.000Z (almost 2 years ago)
- Last Synced: 2025-03-28T09:05:11.162Z (4 months ago)
- Topics: asynchronous, eventbus, rust
- Language: Rust
- Homepage:
- Size: 1.63 MB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[](
https://github.com/lightsing/comet-eventbus#license)
[](
https://crates.io/crates/comet-eventbus)
[](https://docs.rs/comet-eventbus/)
[](
https://lightsing.github.io/comet-eventbus/comet_eventbus/index.html)A strong typed sync and asynchronous eventbus implementation.
Also provide grpc eventbus bridge for asynchronous implementation.
### Notice: This crate is under highly active development. I won't recommend you to use before the api becomes stable.
## Get Started
### Async Usage
Add this to your `Cargo.toml`:
```toml
[dependencies]
comet-eventbus = "0.1.0-pre-alpha.4"
```### Sync Usage
Add this to your `Cargo.toml`:
```toml
[dependencies.comet-eventbus]
version = "0.1.0-pre-alpha.4"
features = ["sync", "sync_parallel"]
default-features = false
```## Example
checkout examples in [`examples`](examples)