forbid unsafe code

This commit is contained in:
blek 2023-10-10 02:43:37 +10:00
parent e4362cae4f
commit f859e61428
Signed by: blek
GPG Key ID: 14546221E3595D0C
1 changed files with 2 additions and 0 deletions

View File

@ -1,3 +1,5 @@
#![forbid(unsafe_code)]
use qrcode::QrCode; use qrcode::QrCode;
use image::{Luma, png::PngEncoder}; use image::{Luma, png::PngEncoder};
use urlencoding::decode; use urlencoding::decode;