Skip to content

Commit

Permalink
Add support for garde 0.20 (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
rlebran committed Jul 5, 2024
2 parents e8cef6e + a1e0dee commit 75477a2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description = "Actix-web garde wrapper"
readme = "README.md"
keywords = ["garde", "actix", "actix-web", "validation"]
categories = ["web-programming"]
version = "0.8.0"
version = "0.9.0"

authors = ["Netwo <oss@netwo.com>"]
edition = "2021"
Expand All @@ -19,7 +19,7 @@ actix-router = "0.5"
actix-web = "4"
derive_more = "0.99"
futures = "0.3"
garde = { version = "0.19", features = ["derive", "serde"] }
garde = { version = "0.20", features = ["derive", "serde"] }
log = "0.4"
mime = "0.3"
pin-project-lite = "0.2"
Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ Actix-web wrapper for [garde](https://github.com/jprochazk/garde), a Rust valida

```toml
[dependencies]
garde = "0.19"
garde-actix-web = "0.8"
garde = "0.20"
garde-actix-web = "0.9"
```

### Usage example
Expand Down Expand Up @@ -74,6 +74,7 @@ Context needs to be provided through actix's `data` or `app_data`, if not found
| `0.18` | `0.12` | `0.5.x`, `0.6.x` |
| `0.18` | `0.13` | `0.7.x` |
| `0.19` | `0.13` | `0.8.x` |
| `0.20` | `0.13` | `0.9.x` |

### About us

Expand Down
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
//! | `0.18` | `0.12` | `0.5.x`, `0.6.x` |
//! | `0.18` | `0.13` | `0.7.x` |
//! | `0.19` | `0.13` | `0.8.x` |
//! | `0.20` | `0.13` | `0.9.x` |

#![forbid(unsafe_code)]

Expand Down

0 comments on commit 75477a2

Please sign in to comment.