Add #![forbid(unsafe_code)].

CLOSES https://github.com/dalek-cryptography/ed25519-dalek/issues/144
This commit is contained in:
Isis Lovecruft 2020-09-22 01:36:49 +00:00
parent b5a15bf451
commit d6ff6de2cf
No known key found for this signature in database
GPG key ID: AB41313533E8E812

View file

@ -234,6 +234,7 @@
#![no_std] #![no_std]
#![warn(future_incompatible)] #![warn(future_incompatible)]
#![deny(missing_docs)] // refuse to compile if documentation is missing #![deny(missing_docs)] // refuse to compile if documentation is missing
#![forbid(unsafe_code)]
#[cfg(any(feature = "std", test))] #[cfg(any(feature = "std", test))]
#[macro_use] #[macro_use]