5 releases
new 0.1.4 | Mar 20, 2025 |
---|---|
0.1.3 | Mar 19, 2025 |
0.1.2 | Mar 18, 2025 |
0.1.1 | Mar 17, 2025 |
0.1.0 | Mar 16, 2025 |
#1 in #flip
239 downloads per month
19KB
146 lines
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
}
lib.rs
:
A really simple dicebear wrapper for Rust
Dependencies
~9–20MB
~279K SLoC