diff options
Diffstat (limited to 'src/consts.rs')
-rw-r--r-- | src/consts.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/consts.rs b/src/consts.rs new file mode 100644 index 0000000..d864683 --- /dev/null +++ b/src/consts.rs @@ -0,0 +1,7 @@ +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; |