Crates.io | batch |
lib.rs | batch |
version | 0.1.1 |
source | src |
created_at | 2018-02-20 16:16:15.236504 |
updated_at | 2018-02-22 20:47:34.174023 |
description | Distributed task queue library based on RabbitMQ |
homepage | https://kureuil.github.io/batch-rs/ |
repository | https://github.com/kureuil/batch-rs |
max_upload_size | |
id | 52087 |
size | 66,369 |
A distributed task queue library written in Rust using RabbitMQ as a message broker.
This library allows you to send a task to a RabbitMQ broker, so that a worker will be able
to pull it and execute the associated handler. It leverages the futures
and tokio-core
crates to provide asynchronous I/O operations.
Add this to your Cargo.toml
:
[dependencies]
batch = "0.1"
Note: Task serialization depends on
serde
, so you will have to add it to your project's dependencies as well.
Then add this to your crate root:
#[macro_use]
extern crate batch;
Examples are available on GitHub or you can continue and read the Getting Started guide.
codegen
(enabled by default): Automatically re-exports the procedurals macros of batch-codegen
from the batch
crate.Licensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.