#path-traversal #axum #security #traversal

axum-safe-path

Traversal-safe Path extractor for Axum

4 releases

Uses new Rust 2024

0.2.2 Oct 17, 2025
0.2.1 Oct 16, 2025
0.2.0 Jun 24, 2025
0.1.0 Jun 24, 2025

#1024 in Asynchronous

36 downloads per month

MIT license

19KB
255 lines

axum-safe-path

License Crates.io Docs.rs

Traversal-safe version of the axum::extract::Path. Can be wrapped in axum::Json or axum::Form. The usage is straightforward; here's an example.

Contributing

Please run .pre-commit.sh before sending a PR, it will check everything.

License

This project is licensed under the MIT license.

Dependencies

~2.3–3MB
~60K SLoC