Crates.io | jabcode |
lib.rs | jabcode |
version | 1.1.0 |
source | src |
created_at | 2022-07-26 04:03:06.650503 |
updated_at | 2022-07-27 05:34:24.16547 |
description | Bindings for the JAB code reference implementation |
homepage | |
repository | https://github.com/IGI-111/jabcode-rs |
max_upload_size | |
id | 632975 |
size | 12,223,673 |
Idiomatic Rust bindings to the JAB Code standard implementation.
let image = jabcode::write_jabcode(
"Hello world".as_bytes(),
&jabcode::WriteOptions::default()).unwrap();
let buf = jabcode::read_jabcode(&image).unwrap();
let output = String::from_utf8(buf).unwrap();
assert_eq!("Hello world", output);