Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lightsing/comet-eventbus
Univeral Eventbus for Rust
https://github.com/lightsing/comet-eventbus
asynchronous eventbus rust
Last synced: about 1 month 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 (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-08-15T10:45:31.000Z (over 1 year ago)
- Last Synced: 2024-10-31T11:29:13.724Z (2 months ago)
- Topics: asynchronous, eventbus, rust
- Language: Rust
- Homepage:
- Size: 1.63 MB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[![License](https://img.shields.io/badge/license-MIT_OR_Apache--2.0-blue.svg)](
https://github.com/lightsing/comet-eventbus#license)
[![crates.io](https://img.shields.io/crates/v/comet-eventbus.svg)](
https://crates.io/crates/comet-eventbus)
[![docs.rs](https://img.shields.io/badge/docs-docs.rs-green)](https://docs.rs/comet-eventbus/)
[![Documentation](https://img.shields.io/badge/docs-latest-green)](
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)