Skip to content

Commit

Permalink
Increment versions / update CHANGELOGs
Browse files Browse the repository at this point in the history
  • Loading branch information
jaymell authored and djc committed Oct 18, 2022
1 parent 172531b commit 535d9f4
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 12 deletions.
16 changes: 8 additions & 8 deletions README.md
Expand Up @@ -14,7 +14,7 @@ The crate is called `redis` and you can depend on it via cargo:

```ini
[dependencies]
redis = "0.22.0"
redis = "0.22.1"
```

Documentation on the library can be found at
Expand Down Expand Up @@ -54,24 +54,24 @@ To enable asynchronous clients a feature for the underlying feature need to be a

```
# if you use tokio
redis = { version = "0.22.0", features = ["tokio-comp"] }
redis = { version = "0.22.1", features = ["tokio-comp"] }
# if you use async-std
redis = { version = "0.22.0", features = ["async-std-comp"] }
redis = { version = "0.22.1", features = ["async-std-comp"] }
```

## TLS Support

To enable TLS support, you need to use the relevant feature entry in your Cargo.toml.

```
redis = { version = "0.22.0", features = ["tls"] }
redis = { version = "0.22.1", features = ["tls"] }
# if you use tokio
redis = { version = "0.22.0", features = ["tokio-native-tls-comp"] }
redis = { version = "0.22.1", features = ["tokio-native-tls-comp"] }
# if you use async-std
redis = { version = "0.22.0", features = ["async-std-tls-comp"] }
redis = { version = "0.22.1", features = ["async-std-tls-comp"] }
```

then you should be able to connect to a redis instance using the `rediss://` URL scheme:
Expand All @@ -84,7 +84,7 @@ let client = redis::Client::open("rediss://127.0.0.1/")?;

Cluster mode can be used by specifying "cluster" as a features entry in your Cargo.toml.

`redis = { version = "0.22.0", features = [ "cluster"] }`
`redis = { version = "0.22.1", features = [ "cluster"] }`

Then you can simply use the `ClusterClient` which accepts a list of available nodes.

Expand All @@ -107,7 +107,7 @@ fn fetch_an_integer() -> String {

Support for the RedisJSON Module can be enabled by specifying "json" as a feature in your Cargo.toml.

`redis = { version = "0.22.0", features = ["json"] }`
`redis = { version = "0.22.1", features = ["json"] }`

Then you can simply import the `JsonCommands` trait which will add the `json` commands to all Redis Connections (not to be confused with just `Commands` which only adds the default commands)

Expand Down
8 changes: 8 additions & 0 deletions redis-test/CHANGELOG.md
@@ -1,3 +1,11 @@
<a name="0.1.1"></a>
### 0.1.1 (2022-10-18)

#### Changes
* Add README
* Update LICENSE file / symlink from parent directory


<a name="0.1.0"></a>
### 0.1.0 (2022-10-05)

Expand Down
6 changes: 3 additions & 3 deletions redis-test/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "redis-test"
version = "0.1.0"
version = "0.1.1"
edition = "2021"
description = "Testing helpers for the `redis` crate"
homepage = "https://github.com/redis-rs/redis-rs"
Expand All @@ -10,7 +10,7 @@ license = "BSD-3-Clause"
rust-version = "1.59"

[dependencies]
redis = { version = "0.22.0", path = "../redis" }
redis = { version = "0.22.1", path = "../redis" }

bytes = { version = "1", optional = true }
futures = { version = "0.3", optional = true }
Expand All @@ -19,6 +19,6 @@ futures = { version = "0.3", optional = true }
aio = ["futures", "redis/aio"]

[dev-dependencies]
redis = { version = "0.22.0", path = "../redis", features = ["aio", "tokio-comp"] }
redis = { version = "0.22.1", path = "../redis", features = ["aio", "tokio-comp"] }
tokio = { version = "1", features = ["rt", "macros", "rt-multi-thread"] }

7 changes: 7 additions & 0 deletions redis/CHANGELOG.md
@@ -1,3 +1,10 @@
<a name="0.22.1"></a>
### 0.22.1 (2022-10-18)

#### Changes
* Add README attribute to Cargo.toml
* Update LICENSE file / symlink from parent directory

<a name="0.22.0"></a>
### 0.22.0 (2022-10-05)

Expand Down
2 changes: 1 addition & 1 deletion redis/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "redis"
version = "0.22.0"
version = "0.22.1"
keywords = ["redis", "database"]
description = "Redis driver for Rust."
homepage = "https://github.com/redis-rs/redis-rs"
Expand Down

0 comments on commit 535d9f4

Please sign in to comment.