Skip to content

Commit

Permalink
README: update TLS instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoIeni committed Dec 27, 2020
1 parent 2e6cc94 commit b540022
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,13 +64,13 @@ redis = { version = "0.17.0", features = ["async-std-comp"] }
To enable TLS support, you need to use the relevant feature entry in your Cargo.toml.

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

then you should be able to connect to a redis instance using the `rediss://` URL scheme:
Expand Down

0 comments on commit b540022

Please sign in to comment.