build: forbid unsafe code

This commit is contained in:
Compositr 2024-11-05 21:13:33 +11:00
parent da33147f5f
commit 8676e8fd61

View file

@ -1,3 +1,5 @@
#![forbid(unsafe_code)]
use std::{net::TcpListener, process, sync::Arc}; use std::{net::TcpListener, process, sync::Arc};
use http::responses::{Body, Response}; use http::responses::{Body, Response};