Skip to content

Commit 861b51e

Browse files
hyperpolymathclaude
andcommitted
chore: add #![forbid(unsafe_code)] to safe Rust crates
Adds the forbid(unsafe_code) crate-level attribute to all Rust crates that do not use unsafe code, hardening the safety guarantee at compile time. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent de9ec2d commit 861b51e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

server/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
#![deny(clippy::all)]
88
#![warn(clippy::pedantic)]
99

10+
#![forbid(unsafe_code)]
1011
pub mod auth;
1112
pub mod core;
1213
pub mod document_store;

0 commit comments

Comments
 (0)