#image #avatar #identicon

identicon-rs

identicon-rs is a library built around custom generation of identicon images

12 releases (7 stable)

✓ Uses Rust 2018 edition

1.4.0 Oct 5, 2019
1.3.0 Mar 6, 2019
1.2.0 Feb 26, 2019
0.2.2 Feb 21, 2019
0.1.1 Feb 20, 2019

#52 in Images

Download history 179/week @ 2019-06-21 24/week @ 2019-06-28 86/week @ 2019-07-05 19/week @ 2019-07-12 11/week @ 2019-07-19 11/week @ 2019-07-26 22/week @ 2019-08-02 22/week @ 2019-08-09 99/week @ 2019-08-23 48/week @ 2019-08-30 14/week @ 2019-09-06 12/week @ 2019-09-13 110/week @ 2019-09-20 22/week @ 2019-09-27

134 downloads per month

MIT license

20KB
200 lines

Identicon-rs

dependency status

This is an Identicon implementation in rust.

Example:

use identicon_rs::Identicon;

fn main() {
    let fluffy_samurai = String::from("fluffy-samurai");
    let test_string = "identicon_rs";

    // stored example
    let identicon_fluffy = Identicon::new_default(&fluffy_samurai);
    identicon_fluffy.save_image("output_1.png");

    // chained example with no border
    Identicon::new_no_border(test_string).save_image("output_2.png");
}

TODO

  • add more information to README.md
  • add more examples

Dependencies

~3MB
~68K SLoC