summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorDavid Pedersen <david.pdrsn@gmail.com>2021-08-05 11:51:33 +0200
committerDavid Pedersen <david.pdrsn@gmail.com>2021-08-05 11:51:33 +0200
commit1509d4ad1226e2bb05dc3fc70d802bdb3820fa71 (patch)
tree2ea71c683e2f0a16600e85e2315e2085efeae2b2 /README.md
parent3cd0c0fd4565eea5888bd8cbcf32f128012c61d0 (diff)
Add note about safety to readme
Diffstat (limited to 'README.md')
-rw-r--r--README.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/README.md b/README.md
index 11266509..2cf34429 100644
--- a/README.md
+++ b/README.md
@@ -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