From f0632e70224b05dca23c8b381a5e39ef40979a1d Mon Sep 17 00:00:00 2001 From: Brandon Thomas Date: Wed, 7 Oct 2026 19:56:42 -0400 Subject: [PATCH] Fetch: crate root forbids unsafe and denies panicking lints, like every other crate Co-Authored-By: Claude Opus 5.5 --- crates/fetch/src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crates/fetch/src/lib.rs b/crates/fetch/src/lib.rs index b13d4c34..499a6eda 100644 --- a/crates/fetch/src/lib.rs +++ b/crates/fetch/src/lib.rs @@ -16,6 +16,8 @@ //! Native only: on wasm32 this crate is empty (the web build downloads no models). #![cfg(not(target_arch = "wasm32"))] +#![forbid(unsafe_code)] +#![deny(clippy::unwrap_used, clippy::expect_used, clippy::panic, clippy::unimplemented, clippy::todo, clippy::unreachable)] pub mod http;