| Crates.io | dicebear |
| lib.rs | dicebear |
| version | 0.1.4 |
| created_at | 2025-03-16 20:33:15.235147+00 |
| updated_at | 2025-03-20 06:17:44.925182+00 |
| description | An unofficial dicebear wrapper for Rust |
| homepage | |
| repository | https://codeberg.org/user0-07161/dicebear |
| max_upload_size | |
| id | 1594754 |
| size | 69,096 |
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
}