Function libftd2xx::library_version

source ·
pub fn library_version() -> Result<Version, FtStatus>
Expand description

Returns the version of the underlying C library.

Note: The documentation says this function is only supported on Windows but it seems to work correctly on Linux.

§Example

use libftd2xx::library_version;

let version = library_version()?;
println!("libftd2xx C library version: {}", version);