I'm up to 47,000 lines of Rust with no "unsafe". The main program starts with
#![forbid(unsafe_code)]
and that applies to the entire program, although not external crates. If you're not using foreign functions, you don't need "unsafe".
Some published crates I use do have "unsafe", more than they should. This is annoying.
I'm up to 47,000 lines of Rust with no "unsafe". The main program starts with
#![forbid(unsafe_code)]
and that applies to the entire program, although not external crates. If you're not using foreign functions, you don't need "unsafe".
Some published crates I use do have "unsafe", more than they should. This is annoying.