Crates.io | wincredentials |
lib.rs | wincredentials |
version | 0.2.0 |
source | src |
created_at | 2021-10-05 04:10:19.900436 |
updated_at | 2021-10-06 19:11:15.285846 |
description | A wrapper around the Win32 API credential management functions. |
homepage | |
repository | https://github.com/karashiiro/wincredentials-rs |
max_upload_size | |
id | 460443 |
size | 10,739 |
A wrapper around the Win32 API credential management functions. Currently only supports generic credentials.
use wincredentials::*;
fn main() {
let _ = write_credential("test_target", credential::Credential{
secret: "test".to_owned(),
});
let cred = read_credential("test_target");
println!(cred.unwrap().secret);
let _ = delete_credential("test_target");
}