batch

Crates.iobatch
lib.rsbatch
version0.1.1
sourcesrc
created_at2018-02-20 16:16:15.236504
updated_at2018-02-22 20:47:34.174023
descriptionDistributed task queue library based on RabbitMQ
homepagehttps://kureuil.github.io/batch-rs/
repositoryhttps://github.com/kureuil/batch-rs
max_upload_size
id52087
size66,369
Louis Person (kureuil)

documentation

README

Batch

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.

Installation

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.

Features

  • codegen (enabled by default): Automatically re-exports the procedurals macros of batch-codegen from the batch crate.

License

Licensed under either of

at your option.

Contribution

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.

Commit count: 40

cargo fmt