gxccd 0.1.1

Rust wrapper around gxccd C library
Documentation
1
2
3
4
5
6
7
8
use std::path::PathBuf;

fn main() {
    let lib_path = PathBuf::from("lib");
    println!("cargo:rustc-link-search=native={}", lib_path.display());
    println!("cargo:rustc-link-lib=static=gxccd"); // Use "dylib" for shared library
    println!("cargo:rustc-link-lib=usb-1.0"); // Link to libusb
}