dicebear

Crates.iodicebear
lib.rsdicebear
version0.1.4
created_at2025-03-16 20:33:15.235147+00
updated_at2025-03-20 06:17:44.925182+00
descriptionAn unofficial dicebear wrapper for Rust
homepage
repositoryhttps://codeberg.org/user0-07161/dicebear
max_upload_size
id1594754
size69,096
User0 (user0-07161)

documentation

README

Dicebear Wrapper for Rust

A simple Dicebear Wrapper for Rust. Example usage:

use dicebear::generate;

#[tokio::main]
async fn main() {
    let result = generate(
	String::from("pixel-art"), // REQUIRED: Style
	Some(String::from("dunno")), // OPTIONAL: Seed
	String::from("256"), // REQUIRED: Size
	Some(false), // OPTIONAL: Flip (bool)
	None, // OPTIONAL: Additional options, in a vector
    ).await;
    // Returns a DynamicImage
}
Commit count: 0

cargo fmt