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"
```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. } ```
MIT