This is a cross-platform library for interacting with U2F Security Key devices via Rust. Supports Windows, Linux, and OSX.
There's only a simple example function that tries to register and sign right now. It uses
env_logger for logging, which you
configure with the RUST_LOG
environment variable:
cargo build
RUST_LOG=debug cargo run --example main
Proper usage should be to call into this library from something else - e.g., Firefox. There are some C headers exposed for the purpose.