Crates.io | redis-pubsub |
lib.rs | redis-pubsub |
version | 0.0.1 |
source | src |
created_at | 2022-04-09 22:57:30.660289 |
updated_at | 2022-04-09 22:57:30.660289 |
description | Fork of redis-subscribe which also supports publishing |
homepage | |
repository | https://github.com/randomairborne/redis-pubsub |
max_upload_size | |
id | 564890 |
size | 49,182 |
Easily subscribe, unsubscribe, and publish to redis pubsub.
Currently the redis crate does not allow to subscribe or unsubscribe after you attached a listener, as you can see in this issue. This crate aims to resolve this.
Almost everything! It only handles subscriptions, so it cannot set/get keys. This version does support publishing. Use the redis crate instead, this one works well with all other features.
Take a look at the example folder to see usage examples.