Skip to content

Commit

Permalink
deprecate axum_garde
Browse files Browse the repository at this point in the history
  • Loading branch information
jprochazk committed Dec 21, 2024
1 parent 7501929 commit 144cf11
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,7 @@ will continue to use `garde`'s implementation.

### Integration with web frameworks

- [`axum`](https://crates.io/crates/axum): [`axum_garde`](https://crates.io/crates/axum_garde)
- [`axum`](https://crates.io/crates/axum): [`axum-valid`](https://crates.io/crates/axum-valid)
- [`actix-web`](https://crates.io/crates/actix-web): [`garde-actix-web`](https://crates.io/crates/garde-actix-web)

### Feature flags
Expand Down
5 changes: 4 additions & 1 deletion integrations/axum_garde/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,12 @@ rust-version.workspace = true
edition = "2021"
repository = "https://github.com/jprochazk/garde"
license = "MIT OR Apache-2.0"
description = "Axum integration for garde"
description = "Deprecated in favor of axum-valid"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[badges]
maintenance.status = "deprecated"

[package.metadata.docs.rs]
all-features = true

Expand Down
3 changes: 3 additions & 0 deletions integrations/axum_garde/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# axum_garde

> [!WARNING]
> ⚠️ **This crate is deprecated in favor of [axum-valid](https://crates.io/crates/axum-valid).** ⚠️
Provide [garde](https://github.com/jprochazk/garde) validation on your
[axum](https://github.com/tokio-rs/axum) application.

Expand Down

0 comments on commit 144cf11

Please sign in to comment.