cu-rp-encoder 0.3.1

This is a driver for the Raspberry Pi to decode a directional encoder from GPIOs.
Documentation
1
2
3
4
5
6
7
8
9
10
fn main() {
    println!(
        "cargo:rustc-env=LOG_INDEX_DIR={}",
        std::env::var("OUT_DIR").unwrap()
    );
    // completely fail if the platform is macos
    if cfg!(target_os = "macos") {
        panic!("macos is not supported");
    };
}