Rust FIDO U2F library is a simple server side implementation to register and check signatures provided by U2F clients/devices. See U2F Technical Overview
Add this to your Cargo.toml
[dependencies]
u2f = "0.2"
Make sure that you have read Using a U2F library before continuing.
See provided example