Skip to content

Commit

Permalink
feat(qr_gen): added source code in rust (#1233)
Browse files Browse the repository at this point in the history
  • Loading branch information
bimawa authored Mar 14, 2024
1 parent dd5fefb commit 43011d2
Show file tree
Hide file tree
Showing 15 changed files with 403 additions and 1 deletion.
2 changes: 2 additions & 0 deletions source-contrib/QRGenerator.popclipext/Config.plist
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,7 @@
<string>com.bimawa.popclip.extension.qrGenerator</string>
<key>Extension Name</key>
<string>QR Generator</string>
<key>Version</key>
<integer>2</integer>
</dict>
</plist>
348 changes: 348 additions & 0 deletions source-contrib/QRGenerator.popclipext/Sources/qr_code/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 14 additions & 0 deletions source-contrib/QRGenerator.popclipext/Sources/qr_code/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
[package]
name = "qr_code"
version = "0.1.0"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
qrcode = "0.12.0"
image = "0.23.14"

[[bin]]
name = "qr_code"
path = "main.rs"

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[package]
name = "abbr"
version = "0.1.0"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#[cfg(test)]
mod tests {
#[test]
fn exploration() {
let result = 2 + 2;
assert_eq!(result, 4);
}
}
Loading

0 comments on commit 43011d2

Please sign in to comment.