Qr-Generator

GitHub issues GitHub forks GitHub stars

Install

Please install rust with curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh, and than if success install, please check with type cargo version.

[dependencies] qr-generator = "0.1.0"

How to use?

```rust extern crate qr_generator;

fn main() { let content = "https://example.com/path".tostring(); let name = "nameofimage".tostring(); // to generate with hash

qr_generator::generate(content, name).unwrap(); // generate qr-code to image.png. } ```

License

MIT