From e4879637f909abe0852b5986aa59c8509b0b18f0 Mon Sep 17 00:00:00 2001 From: tompro Date: Sat, 29 Oct 2022 20:24:14 +0200 Subject: [PATCH] Update to redis 0.22.1 --- Cargo.toml | 10 +++++----- README.md | 12 ++++++------ src/lib.rs | 10 +++++----- 3 files changed, 16 insertions(+), 16 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 26dc789..78ce6ab 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "redis_ts" -version = "0.4.1" +version = "0.4.2" authors = ["protom "] keywords = ["redis", "database"] description = "API for Redis time series types." @@ -13,7 +13,7 @@ edition = "2018" exclude = ["docker"] [dependencies] -redis = { version = "0.21.5", optional = true } +redis = { version = "0.22.1", optional = true } [features] default = ['redis'] @@ -21,9 +21,9 @@ tokio-comp = ['redis/tokio-comp'] async-std-comp = ['redis/async-std-comp'] [dev-dependencies] -tokio = { version = "1.17.0", features = ["rt"] } -futures = "0.3.21" -async-std = "1.11.0" +tokio = { version = "1", features = ["rt"] } +futures = "0.3.5" +async-std = { version = "1.8.0", features = ["tokio1"] } [[test]] name = "test_async_std_commands" diff --git a/README.md b/README.md index af304b4..1b9dc67 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # redis_ts -[![crates.io](https://img.shields.io/badge/crates.io-v0.4.1-orange)](https://crates.io/crates/redis_ts) +[![crates.io](https://img.shields.io/badge/crates.io-v0.4.2-orange)](https://crates.io/crates/redis_ts) ![Continuous integration](https://github.com/tompro/redis_ts/workflows/Continuous%20integration/badge.svg) redis_ts provides a small trait with extension functions for the @@ -10,13 +10,13 @@ a [redis module](https://oss.redislabs.com/redistimeseries). Time series commands are available as synchronous and asynchronous versions. The crate is called `redis_ts` and you can depend on it via cargo. You will -also need redis in your dependencies. It has been tested agains redis 0.21.0 +also need redis in your dependencies. It has been tested agains redis 0.22.1 but should work with versions higher than that. ```ini [dependencies] - redis = "0.21.0" - redis_ts = "0.4.1" + redis = "0.22.1" + redis_ts = "0.4.2" ``` Or via git: @@ -29,8 +29,8 @@ but should work with versions higher than that. With async feature inherited from the [redis](https://docs.rs/redis) crate (either: 'async-std-comp' or 'tokio-comp): ```ini [dependencies] - redis = "0.21.0" - redis_ts = { version = "0.4.1", features = ['tokio-comp'] } + redis = "0.22.1" + redis_ts = { version = "0.4.2", features = ['tokio-comp'] } ``` ## Synchronous usage diff --git a/src/lib.rs b/src/lib.rs index 4874d35..b5dbff4 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -5,13 +5,13 @@ //! series commands are available as synchronous and asynchronous versions. //! //! The crate is called `redis_ts` and you can depend on it via cargo. You will -//! also need redis in your dependencies. It has been tested agains redis 0.21.0 +//! also need redis in your dependencies. It has been tested agains redis 0.22.1 //! but should work with versions higher than that. //! //! ```ini //! [dependencies] -//! redis = "0.21.0" -//! redis_ts = "0.4.1" +//! redis = "0.22.1" +//! redis_ts = "0.4.2" //! ``` //! //! Or via git: @@ -25,8 +25,8 @@ //! crate (either: 'async-std-comp' or 'tokio-comp): //! ```ini //! [dependencies] -//! redis = "0.21.0" -//! redis_ts = { version = "0.4.1", features = ['tokio-comp'] } +//! redis = "0.22.1" +//! redis_ts = { version = "0.4.2", features = ['tokio-comp'] } //! ``` //! //! # Synchronous usage