Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The newly added `#![forbid(unsafe_code)]` directive serves two purposes: * It explicitly documents the current state of the crate (i.e. currently there is no `unsafe`) which helps security reviewers to check the overall safety profile / approach of the crate. * It adds an extra speed bump in case `unsafe` PRs are considered in the future. Hopefully in most cases `unsafe` can be encapsulated in separate (small, auditable) crates that `qr_code` can depend on (and the `forbid` directive can give a gentle nudge in this direction).
- Loading branch information