Skip to content
Merged
Show file tree
Hide file tree
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
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Head on [over to the microsite](https://davenverse.github.io/fuuid/)

## Impatient Quickstart

To use fuuid in an existing SBT project with Scala 2.12 or a later version, add the following dependency to your
To use fuuid 0.8.0 in an existing SBT project with Scala 2.13 or Scala 3, add the following dependency to your
`build.sbt`:

```scala
Expand All @@ -32,6 +32,6 @@ For more info visit [the microsite](https://davenverse.github.io/fuuid/)

| fuuid | Scala 2.12 | Scala 2.13 | Scala 3 | Cats | CE | http4s | Doobie | Circe |
| :-----: | :--------: | :--------: | :-----: | :---: | :----: | :------: | :------: | :------: |
| `0.8.x` | Yes | Yes | Pending | `2.x` | `3.x` | `0.23.x` | `1.0.x` | `1.0.x` |
| `0.8.0` | No | Yes | Yes | `2.x` | `3.x` | `0.23.x` | `1.0.x` | `0.14.x` |
| `0.7.x` | Yes | Yes | Pending | `2.x` | `2.x` | `0.22.x` | `0.13.x` | `0.14.x` |
| `0.6.x` | Yes | Yes | Pending | `2.x` | `2.x` | `0.21.x` | `0.13.x` | `0.13.x` |
8 changes: 5 additions & 3 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ dependencies to support additional interactions.

## Quick Start

To use fuuid in an existing SBT project with Scala 2.11 or a later version, add the following dependency to your
To use fuuid 0.8.0 in an existing SBT project with Scala 2.13 or Scala 3, add the following dependency to your
`build.sbt`:

```scala
Expand All @@ -26,6 +26,8 @@ libraryDependencies += "io.chrisdavenport" %% "fuuid" % "<version>"
```
import io.chrisdavenport.fuuid.FUUID
import cats.effect.IO
// For these REPL examples; applications should prefer IOApp.
import cats.effect.unsafe.implicits.global

// We place it in IO because this requires a Sync constraint
val create: IO[FUUID] = FUUID.randomFUUID[IO]
Expand Down Expand Up @@ -109,8 +111,8 @@ To use fuuid to store UUID's using doobie, add to your `build.sbt`:
libraryDependencies += "io.chrisdavenport" %% "fuuid-doobie" % "<version>"
```

This dependency will provide a `Meta[FUUID]` which depends on `Meta[UUID]` to provide support for `FUUID`.
You will need to provide the instance of `Meta[UUID]` in scope. Firstly, we import:
This dependency provides `Get[FUUID]` and `Put[FUUID]` from the corresponding `Get[UUID]` and
`Put[UUID]` instances. Import your database's UUID instances as shown below. Firstly, we import:

```scala mdoc:silent
import doobie._
Expand Down