Skip to content

Commit

Permalink
Update to redis 0.22.1
Browse files Browse the repository at this point in the history
  • Loading branch information
tompro committed Oct 29, 2022
1 parent 4ba69fd commit e487963
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 16 deletions.
10 changes: 5 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "redis_ts"
version = "0.4.1"
version = "0.4.2"
authors = ["protom <[email protected]>"]
keywords = ["redis", "database"]
description = "API for Redis time series types."
Expand All @@ -13,17 +13,17 @@ edition = "2018"
exclude = ["docker"]

[dependencies]
redis = { version = "0.21.5", optional = true }
redis = { version = "0.22.1", optional = true }

[features]
default = ['redis']
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"
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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:
Expand All @@ -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
Expand Down
10 changes: 5 additions & 5 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down

0 comments on commit e487963

Please sign in to comment.