8 releases (5 breaking)
0.6.0 | May 7, 2024 |
---|---|
0.5.0 | May 6, 2024 |
0.4.1 | Apr 28, 2024 |
0.3.1 | Apr 25, 2024 |
0.1.0 | Jan 24, 2024 |
#352 in Hardware support
27 downloads per month
190KB
3.5K
SLoC
Rust wrapper for GM/T 0016-2012(Smart token cryptography application interface specification).
Usage
Listing available device:
use skf_rs::{Engine, LibLoader};
fn main() {
let engine = Engine::new(LibLoader::env_lookup().unwrap());
let manager = engine.device_manager().unwrap();
let list = manager.enum_device(true).unwrap();
list.iter().for_each(|name| println!("{}", name));
}
Examples
There are several included examples, which help demonstrate the functionality of this library and can help debug software or hardware errors.
Native Dependencies
To run the examples (or your application build on this library),The vendor library must be installed.The LibLoader
load the library dynamically.
Resources
Special Thanks
Dependencies
~0.8–6MB
~26K SLoC