secugen_rs 0.2.0

Rust bindings for the SecuGen SDK
Documentation
  • Coverage
  • 0%
    0 out of 295 items documented0 out of 20 items with examples
  • Size
  • Source code size: 4.88 MB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 6.83 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 24s Average build duration of successful builds.
  • all releases: 24s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • mdrokz

secugen_rs

The rust bindings to the secugen SDK allow you to use Secugen fingerprint scanner line of products https://secugen.com/products/#fingerprint

Installation

[dependencies]
secugen_rs = "0.2.0"

Usage

use secugen_rs::sgfpm::FPM;

fn main() {
    let mut fpm = FPM::new();

    let res = fpm.init_device(None, None, None, None);

    match res {
        Ok(_) => println!("Device initialized"),
        Err(e) => println!("Error: {}", e),
    }

    let res = fpm.capture_image();

    match res {
        Ok(b) => println!("Image captured {:?}",b),
        Err(e) => println!("Error: {}", e),
    }

    println!("Hello, world!");
}
LD_LIBRARY_PATH=/usr/local/lib/ cargo run