Crates.io | barcode-rs |
lib.rs | barcode-rs |
version | 0.1.0 |
source | src |
created_at | 2023-05-18 11:45:59.995127 |
updated_at | 2023-05-18 11:45:59.995127 |
description | Utility crate for barcode binary encoding |
homepage | |
repository | https://github.com/ChristianBelloni/barcode-rs |
max_upload_size | |
id | 867782 |
size | 25,996 |
Barcode-rs is an utility crate for encoding data into several supported formats
Currently supported formats:
let my_data = "7501031311309";
let result: bit_vec::BitVec = my_data.barcode_encode(BarcodeFormat::EAN13).unwrap();
let my_data = "7501031311309".chars().collect::<Vec<char>>();
let result: bit_vec::BitVec = barcode_rs::encode(&my_data, BarcodeFormat::EAN13).unwrap();