diff options
author | cyqsimon <28627918+cyqsimon@users.noreply.github.com> | 2022-09-01 13:10:30 +0000 |
---|---|---|
committer | cyqsimon <28627918+cyqsimon@users.noreply.github.com> | 2022-09-01 13:10:30 +0000 |
commit | 044f30c550888429cf8a9d39ef1a282ff3385e09 (patch) | |
tree | 94bd46d6e3de21f6705a3d11592f551ae8a6bcea /src/consts.rs | |
parent | Switch to `fast_qr` crate (diff) | |
download | miniserve-044f30c550888429cf8a9d39ef1a282ff3385e09.tar.gz miniserve-044f30c550888429cf8a9d39ef1a282ff3385e09.zip |
Move QR margin size into `consts`
Diffstat (limited to '')
-rw-r--r-- | src/consts.rs | 3 |
1 files changed, 3 insertions, 0 deletions
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; |