DavidBM / rsmq-async-rs

RSMQ port to async rust. RSMQ is a simple redis queue system that works in any redis v2.6+
MIT License
43 stars 8 forks source link

How to import PoolOption? #11

Closed t4sk closed 3 years ago

t4sk commented 3 years ago

How do I import PoolOption needed to create a pooled connection?

pool_facade.rs

    pub async fn new(options: RsmqOptions, pool_options: PoolOptions) -> RsmqResult<PooledRsmq> {

It's not exported from lib.rs

DavidBM commented 3 years ago

Hi! I have added a commit exporting it. Later today I will publish a new version in crates.io. Use this report ufor now. Tomorrow it should be solved

t4sk commented 3 years ago

Wow quick response! Thanks

DavidBM commented 3 years ago

I had some problems during my flight, so I wasn't able to upload the package to crates.io yet. Will try today! I will reopen this as a reminder :)

DavidBM commented 3 years ago

Ok! My flight had wifi, so I just published the new version of the crate! 5.1.0 @t4sk

t4sk commented 3 years ago

Thanks