Skip to content

Commit

Permalink
Create release version 0.26.1
Browse files Browse the repository at this point in the history
  • Loading branch information
nihohit committed Aug 2, 2024
1 parent df95a15 commit 177b571
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 14 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 12 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ The crate is called `redis` and you can depend on it via cargo:

```ini
[dependencies]
redis = "0.26.0"
redis = "0.26.1"
```

Documentation on the library can be found at
Expand Down Expand Up @@ -59,10 +59,10 @@ To enable asynchronous clients, enable the relevant feature in your Cargo.toml,

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

## TLS Support
Expand All @@ -73,25 +73,25 @@ Currently, `native-tls` and `rustls` are supported.
To use `native-tls`:

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

To use `rustls`:

```
redis = { version = "0.26.0", features = ["tls-rustls"] }
redis = { version = "0.26.1", features = ["tls-rustls"] }
# if you use tokio
redis = { version = "0.26.0", features = ["tokio-rustls-comp"] }
redis = { version = "0.26.1", features = ["tokio-rustls-comp"] }
# if you use async-std
redis = { version = "0.26.0", features = ["async-std-rustls-comp"] }
redis = { version = "0.26.1", features = ["async-std-rustls-comp"] }
```

With `rustls`, you can add the following feature flags on top of other feature flags to enable additional features:
Expand All @@ -117,7 +117,7 @@ let client = redis::Client::open("rediss://127.0.0.1/#insecure")?;

Support for Redis Cluster can be enabled by enabling the `cluster` feature in your Cargo.toml:

`redis = { version = "0.26.0", features = [ "cluster"] }`
`redis = { version = "0.26.1", features = [ "cluster"] }`

Then you can simply use the `ClusterClient`, which accepts a list of available nodes. Note
that only one node in the cluster needs to be specified when instantiating the client, though
Expand All @@ -140,7 +140,7 @@ fn fetch_an_integer() -> String {
Async Redis Cluster support can be enabled by enabling the `cluster-async` feature, along
with your preferred async runtime, e.g.:

`redis = { version = "0.26.0", features = [ "cluster-async", "tokio-std-comp" ] }`
`redis = { version = "0.26.1", features = [ "cluster-async", "tokio-std-comp" ] }`

```rust
use redis::cluster::ClusterClient;
Expand All @@ -160,7 +160,7 @@ async 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.26.0", features = ["json"] }`
`redis = { version = "0.26.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
4 changes: 4 additions & 0 deletions redis/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
### 0.26.1 (2024-08-02)

* bug: Exported configured-out item ([#1273](https://github.com/redis-rs/redis-rs/pull/1273) @EmilyMatt)

### 0.26.0 (2024-07-26)

#### Features
Expand Down
2 changes: 1 addition & 1 deletion redis/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "redis"
version = "0.26.0"
version = "0.26.1"
keywords = ["redis", "database"]
description = "Redis driver for Rust."
homepage = "https://github.com/redis-rs/redis-rs"
Expand Down

0 comments on commit 177b571

Please sign in to comment.