From 044f30c550888429cf8a9d39ef1a282ff3385e09 Mon Sep 17 00:00:00 2001 From: cyqsimon <28627918+cyqsimon@users.noreply.github.com> Date: Thu, 1 Sep 2022 21:10:30 +0800 Subject: Move QR margin size into `consts` --- src/consts.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/consts.rs') diff --git a/src/consts.rs b/src/consts.rs index 1a105f7..d864683 100644 --- a/src/consts.rs +++ b/src/consts.rs @@ -2,3 +2,6 @@ use fast_qr::ECL; /// The error correction level to use for all QR code generation. pub const QR_EC_LEVEL: ECL = ECL::L; + +/// The margin size for the SVG QR code on the webpage. +pub const SVG_QR_MARGIN: usize = 1; -- cgit v1.2.3