diff options
author | cyqsimon <28627918+cyqsimon@users.noreply.github.com> | 2022-09-01 12:20:27 +0000 |
---|---|---|
committer | cyqsimon <28627918+cyqsimon@users.noreply.github.com> | 2022-09-01 12:20:27 +0000 |
commit | aa2dda7885a83354d1519eef62397b90189a9802 (patch) | |
tree | 6ec247f7a3b6568ba7c8f7ec8c9e6248f0bed48b /src/consts.rs | |
parent | Remove leftover `dbg!` (diff) | |
download | miniserve-aa2dda7885a83354d1519eef62397b90189a9802.tar.gz miniserve-aa2dda7885a83354d1519eef62397b90189a9802.zip |
Switch to `fast_qr` crate
Diffstat (limited to 'src/consts.rs')
-rw-r--r-- | src/consts.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/consts.rs b/src/consts.rs index f10570a..1a105f7 100644 --- a/src/consts.rs +++ b/src/consts.rs @@ -1,4 +1,4 @@ -use qrcode::EcLevel; +use fast_qr::ECL; /// The error correction level to use for all QR code generation. -pub const QR_EC_LEVEL: EcLevel = EcLevel::L; +pub const QR_EC_LEVEL: ECL = ECL::L; |