Easy-to-use beanstalkd client for Rust (IronMQ compatible)
Add this dependency to your Cargo.toml
toml
beanstalkd = "*"
More documentation can be found here.
```rs extern crate beanstalkd;
use beanstalkd::Beanstalkd;
fn main() { let mut beanstalkd = Beanstalkd::localhost().unwrap(); beanstalkd.put("Hello World", 0, 0, 10000); } ```
```rs extern crate beanstalkd;
use beanstalkd::Beanstalkd;
fn main() { let mut beanstalkd = Beanstalkd::localhost().unwrap(); loop { let (id, body) = beanstalkd.reserve().unwrap(); println!("{}", body); beanstalkd.delete(id); } } ```
rs
// TODO