Skip to content

Commit

Permalink
Updated gitignore, fixed unused imports
Browse files Browse the repository at this point in the history
  • Loading branch information
wiki-Bird committed Jul 23, 2023
1 parent 7c1854a commit eefd3dc
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions rust_qr/src/qr_maker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ use qrcode::render::svg;
use image::Luma;
use image::png::PngEncoder;
use base64;
use image::Pixel;
use image::EncodableLayout;
use image::ColorType;

Expand All @@ -25,10 +24,6 @@ pub fn generate_qr(url: &str) -> String {
return image_with_class;
}





// generate a QR code from the url as a png and encode it as base64
pub fn generate_qr_png(url: &str) -> String {
// Encode some data into bits.
Expand Down

0 comments on commit eefd3dc

Please sign in to comment.