From a2cd445c1747310c054e24b3a96ae846dd1df40e Mon Sep 17 00:00:00 2001 From: alex179ohm Date: Tue, 19 Feb 2019 16:06:12 +0100 Subject: [PATCH] Update version to 0.1.8 --- Cargo.toml | 2 +- README.md | 11 ++++++++--- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 10d15f3..f1f6540 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "nsq-client" -version = "0.1.7" +version = "0.1.8" authors = ["Alessandro Cresto Miseroglio "] description = """ Rust client for the NSQ realtime message processing system diff --git a/README.md b/README.md index 839f8e3..8467a95 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ # NSQ client written in rust [![Build Status](https://travis-ci.com/alex179ohm/nsq-client-rs.svg?branch=master)](https://travis-ci.com/alex179ohm/nsq-client-rs) [![Build status](https://ci.appveyor.com/api/projects/status/ov5ryj2r4iy2v7rp/branch/master?svg=true)](https://ci.appveyor.com/project/alex179ohm/nsq-client-rs/branch/master) [![](https://img.shields.io/crates/v/nsq-client.svg?style=flat)](https://crates.io/crates/nsq-client) + Sponsored by --- A [Actix](https://actix.rs/) based client implementation for the [NSQ](https://nsq.io) realtime message processing system. @@ -10,15 +11,19 @@ To use nsq-client, add this to your Cargo.toml: ```toml [dependencies] actix = "0.7" -nsq-client = "0.1.7" +nsq-client = "0.1.8" ``` ### Create your first consumer In order to use nsq-client you first need to create a Reader actor which implement Handler for the type of messages you want to receive from the connections and then subscribe it to the connections to be able to receive the type of messages you've selected. Available messages are: -- [Msg](https://docs.rs/nsq-client/0.1.7/nsq_client/struct.Msg.html) nsqd messages sent to the Connection (routed to your Reader) -- [InFlight](https://docs.rs/nsq-client/0.1.7/nsq_client/struct.InFlight.html) Connection message sent to the reader every time inflight is increased or decreased +- [Msg](https://docs.rs/nsq-client/0.1.7/nsq_client/struct.Msg.html) +- [InFlight](https://docs.rs/nsq-client/0.1.7/nsq_client/struct.InFlight.html) +- [OnIdentify](https://docs.rs/nsq-client/0.1.7/nsq_client/struct.OnIdentify.html) +- [OnAuth](https://docs.rs/nsq-client/0.1.7/nsq_client/struct.OnAuth.html) +- [OnBackoff](https://docs.rs/nsq-client/0.1.7/nsq_client/struct.OnBackoff.html) +- [OnResume](https://docs.rs/nsq-client/0.1.7/nsq_client/struct.OnResume.html) ### Simple Consumer (SUB) ```rust