Skip to content

Commit

Permalink
Update REAMDE.md
Browse files Browse the repository at this point in the history
  • Loading branch information
juhaku committed Oct 7, 2023
1 parent 15053c5 commit 21dd69d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,15 +117,15 @@ Add minimal dependency declaration to Cargo.toml.

```toml
[dependencies]
utoipa = "3"
utoipa = "4"
```

To enable more features such as use actix framework extras you could define the
dependency as follows.

```toml
[dependencies]
utoipa = { version = "3", features = ["actix_extras"] }
utoipa = { version = "4", features = ["actix_extras"] }
```

**Note!** To use `utoipa` together with Swagger UI you can use the [utoipa-swagger-ui](https://docs.rs/utoipa-swagger-ui/) crate.
Expand Down

0 comments on commit 21dd69d

Please sign in to comment.