Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README.md #995

Merged
merged 1 commit into from
Sep 17, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ instances.
To use ZIO Redis, add the following line to your `build.sbt`:

```scala
libraryDependencies += "dev.zio" %% "zio-redis" % "0.2.0"
libraryDependencies += "dev.zio" %% "zio-redis" % "1.0.0"
```

## Example
Expand All @@ -32,7 +32,7 @@ To run this example we should put following dependencies in our `build.sbt` file

```scala
libraryDependencies ++= Seq(
"dev.zio" %% "zio-redis" % "0.2.0",
"dev.zio" %% "zio-redis" % "1.0.0",
"dev.zio" %% "zio-schema-protobuf" % "0.4.9"
)
```
Expand Down Expand Up @@ -70,7 +70,7 @@ object ZIORedisExample extends ZIOAppDefault {
To test you can use the embedded redis instance by adding to your build:

```scala
libraryDependencies := "dev.zio" %% "zio-redis-embedded" % "0.2.0"
libraryDependencies := "dev.zio" %% "zio-redis-embedded" % "1.0.0"
```

Then you can supply `EmbeddedRedis.layer.orDie` as your `RedisConfig` and you're good to go!
Expand Down