YAGII

Crates.io docs.rs Build Status GitHub license

YAGII stands for Yet Another Github style Identicon Implementation and is pronounced [jɐɣi].

YAGII can be build with nightly rustc only for now.

Usage

``rust // If you use Rust edition 2015 you need to writeextern crate`. // extern crate yagii; use yagii::{Dimensions, ChunkConfig, generate_identicon};

// Chunk is 70 pixel square. let chunk_config = ChunkConfig::Square(70); // 5 chunks square. let dimensions = Dimensions(5, 5);

let image = generateidenticon("some data".asbytes(), chunk_config, dimensions);

assert!(image.is_ok()); ```

License

MIT License.