Skip to content

Commit 144cf11

Browse files
committed
deprecate axum_garde
1 parent 7501929 commit 144cf11

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -491,7 +491,7 @@ will continue to use `garde`'s implementation.
491491

492492
### Integration with web frameworks
493493

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

497497
### Feature flags

integrations/axum_garde/Cargo.toml

+4-1
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,12 @@ rust-version.workspace = true
55
edition = "2021"
66
repository = "https://github.com/jprochazk/garde"
77
license = "MIT OR Apache-2.0"
8-
description = "Axum integration for garde"
8+
description = "Deprecated in favor of axum-valid"
99
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
1010

11+
[badges]
12+
maintenance.status = "deprecated"
13+
1114
[package.metadata.docs.rs]
1215
all-features = true
1316

integrations/axum_garde/README.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# axum_garde
22

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

0 commit comments

Comments
 (0)