robius-authentication 0.1.1

Rust abstractions for multi-platform native authentication: biometrics, fingerprint, password, TouchID, FaceID, Windows Hello, etc.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
cfg_if::cfg_if! {
    if #[cfg(target_os = "android")] {
        mod android;
        pub(crate) use android::*;
    } else if #[cfg(target_vendor = "apple")] {
        mod apple;
        pub(crate) use apple::*;
    } else if #[cfg(target_os = "linux")] {
        mod linux;
        pub(crate) use linux::*;
    } else if #[cfg(target_os = "windows")] {
        mod windows;
        pub(crate) use windows::*;
    } else {
        mod unsupported;
        pub(crate) use unsupported::*;
    }
}