mirror of
https://github.com/tokio-rs/axum.git
synced 2025-09-28 13:30:39 +00:00
Add note about safety to readme
This commit is contained in:
parent
3cd0c0fd45
commit
1509d4ad12
@ -95,6 +95,11 @@ See the [crate documentation][docs] for way more examples.
|
|||||||
overhead. So `axum`'s performance is comparable to [`hyper`]. You can find a
|
overhead. So `axum`'s performance is comparable to [`hyper`]. You can find a
|
||||||
benchmark [here](https://github.com/programatik29/rust-web-benchmarks).
|
benchmark [here](https://github.com/programatik29/rust-web-benchmarks).
|
||||||
|
|
||||||
|
## Safety
|
||||||
|
|
||||||
|
This crate uses `#![forbid(unsafe_code)]` to ensure everything is implemented in
|
||||||
|
100% safe Rust.
|
||||||
|
|
||||||
## Examples
|
## Examples
|
||||||
|
|
||||||
The [examples] folder contains various examples of how to use `axum`. The
|
The [examples] folder contains various examples of how to use `axum`. The
|
||||||
|
Loading…
x
Reference in New Issue
Block a user