vaultkey 0.1.1

A secure and customizable password generator library for Rust, designed to create strong, random passwords with various configuration options.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use thiserror::Error;

/// Errors that can occur when working with vault keys.
#[derive(Debug, Error)]
pub(crate) enum VaultKeyError {
	/// Error indicating that the provided password is too short.
	#[error("Password length must be at least 5")]
	PasswordTooShort,

	/// Error indicating that no character types were selected for password generation.
	#[error("No character types selected for password generation")]
	NoCharacterTypesSelected,
}