Add note about safety to readme

This commit is contained in:
David Pedersen 2021-08-05 11:51:33 +02:00
parent 3cd0c0fd45
commit 1509d4ad12

View File

@ -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
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
The [examples] folder contains various examples of how to use `axum`. The