libftd2xx 0.24.1

Rust safe wrapper around the libftd2xx-ffi crate.
Documentation
1
2
3
4
5
6
7
8
9
#![deny(unsafe_code, warnings)]
use libftd2xx::{num_devices, FtStatus};

fn main() -> Result<(), FtStatus> {
    let num_devices = num_devices()?;
    println!("Number of devices: {}", num_devices);

    Ok(())
}