[package]
edition = "2021"
rust-version = "1.77.0"
name = "robius-authentication"
version = "0.3.0"
authors = [
"Kevin Boos <kevinaboos@gmail.com>",
"Klim Tsoutsman <klim@tsoutsman.com>",
"Tyrese Luo <tyreseluo@outlook.com>",
"Project Robius Maintainers",
]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust abstractions for multi-platform native authentication: biometrics, fingerprint, password, screen lock, TouchID, FaceID, Windows Hello, etc."
homepage = "https://robius.rs/"
documentation = "https://docs.rs/robius-authentication"
readme = "README.md"
keywords = [
"robius",
"authentication",
"biometric",
"password",
"fingerprint",
]
categories = [
"os",
"hardware-support",
"api-bindings",
]
license = "MIT"
repository = "https://github.com/project-robius/robius"
[features]
default = []
[lib]
name = "robius_authentication"
path = "src/lib.rs"
[[example]]
name = "simple_authentication"
path = "examples/simple_authentication.rs"
[dependencies.cfg-if]
version = "1.0.0"
[build-dependencies.android-build]
version = "0.1.2"
[target.'cfg(target_os = "android")'.dependencies.jni]
version = "0.21.1"
default-features = false
[target.'cfg(target_os = "android")'.dependencies.robius-android-env]
version = "0.2.0"
[target.'cfg(target_os = "linux")'.dependencies.zbus]
version = ">=5.12.0, <5.13.0"
[target.'cfg(target_os = "linux")'.dependencies.zbus_polkit]
version = "5.0.0"
[target.'cfg(target_os = "windows")'.dependencies.retry]
version = "2.0.0"
[target.'cfg(target_os = "windows")'.dependencies.windows]
version = "0.56.0"
features = [
"Foundation",
"Security_Credentials_UI",
"Win32_UI_WindowsAndMessaging",
"Win32_System_WinRT",
"Win32_System_Com",
"Win32_Foundation",
"Win32_Graphics_Gdi",
"Win32_NetworkManagement_NetManagement",
"Win32_Security_Authentication_Identity",
"Win32_Security_Credentials",
"Win32_UI_Input_KeyboardAndMouse",
]
default-features = false
[target.'cfg(target_os = "windows")'.dependencies.windows-core]
version = "0.56.0"
default-features = false
[target.'cfg(target_vendor = "apple")'.dependencies.block2]
version = "0.6.1"
[target.'cfg(target_vendor = "apple")'.dependencies.objc2]
version = "0.6.4"
[target.'cfg(target_vendor = "apple")'.dependencies.objc2-foundation]
version = "0.3.2"
features = [
"std",
"NSError",
"NSString",
]
default-features = false
[target.'cfg(target_vendor = "apple")'.dependencies.objc2-local-authentication]
version = "0.3.2"
features = [
"std",
"block2",
"LAContext",
"LAError",
]
default-features = false