Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Allows to generate random strings based on a given charset and length.

Notifications You must be signed in to change notification settings

FssAy/random-string

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

26 Commits

Repository files navigation

random-string

A simple crate that allows you to generate random strings based on a given charset and length.

Usage

Add a dependence in Cargo.toml

[dependencies]
random-string = "1.0"

Example

use random_string::generate;
fn main() {
 let charset = "1234567890";
 println!("[{}]", generate(6, charset));
}

About

Allows to generate random strings based on a given charset and length.

Topics

Resources

Stars

Watchers

Forks

Contributors 4

Languages

AltStyle によって変換されたページ (->オリジナル) /