zxing_rust 0.1.1

zxing_rust is an open-source, multi-format 1D/2D barcode image processing library implemented in Rust, with ports to other languages.
Documentation
1
2
3
4
5
6
7
8
9
10
#[no_mangle]
pub fn decode(path: String) -> String {
    println!("decoding path: {}", path);
    return String::from("Hello World!");
}

#[no_mangle]
pub fn add(a: usize, b: usize) -> usize {
    return a + b;
}