Product Promotion
0x5a.live
for different kinds of informations and explorations.
GitHub - AlvaroParker/libfprint-rs: Libfprint library for Rust
Libfprint library for Rust. Contribute to AlvaroParker/libfprint-rs development by creating an account on GitHub.
Visit SiteGitHub - AlvaroParker/libfprint-rs: Libfprint library for Rust
Libfprint library for Rust. Contribute to AlvaroParker/libfprint-rs development by creating an account on GitHub.
Powered by 0x5a.live 💗
LIBFPRINT-RS
This crate provides a wrapper around the native libfprint
library.
Dependencies
This package requires libfprint-2
to be installed in your system alongside libclang
and pkg-config
Usage
Add libfprint-rs
as a dependency in Cargo.toml
[dependencies]
libfprint-rs = "0.2.3"
Or using cargo
cargo add libfprint-rs
Import the libfprint_rs
crate. The starting point for nearly all libfprint-rs
functionality is to create a context object. With a context object, you can list devices, open them and execute their functionalities.
use libfprint_rs::FpContext;
fn main() {
let ctx = FpContext::new();
let devices = ctx.devices();
let dev = devices.get(0).unwrap();
dev.open_sync(None).unwrap();
}
License
Distributed under the MIT License.
Status
Currently libfprint-rs is WIP.
Rust Resources
are all listed below.
Made with ❤️
to provide different kinds of informations and resources.