irox-safe-windows

Crates.ioirox-safe-windows
lib.rsirox-safe-windows
version
sourcesrc
created_at2023-12-23 14:09:54.576243
updated_at2024-12-01 22:54:15.425377
descriptionWrappers around the windows native unsafe functions to make them ergonomic
homepagehttps://github.com/spmadden/irox-unsafe
repositoryhttps://github.com/spmadden/irox-unsafe
max_upload_size
id1079138
Cargo.toml error:TOML parse error at line 19, column 1 | 19 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include`
size0
Sean Madden (spmadden)

documentation

README

IROX-SAFE-WINDOWS

Wrappers around the windows native unsafe functions to make them ergonomic

Credentials Cache

  • Prompt for a username & password:
use irox_safe_windows::credentials::{Credentials, PromptOptions, prompt};
use irox_safe_windows::error::Error;

pub fn main() -> Result<(), Error> {
    let options = PromptOptions::new()
        .with_title("Little Title Text!")
        .with_subtitle("Big Title Text!");
    let creds : Credentials = prompt(&options)?;
    let username : &String = &creds.username;
    let password : &String = &creds.password;
    let user_requested_save : &bool = &creds.save_requested;
    Ok(())
}

img.png

Commit count: 53

cargo fmt