#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

#81 in Images

Download history 24/week @ 2019-11-01 1/week @ 2019-11-08 17/week @ 2019-11-15 27/week @ 2019-11-22 24/week @ 2019-11-29 43/week @ 2019-12-06 2/week @ 2019-12-13 1/week @ 2019-12-20 12/week @ 2019-12-27 187/week @ 2020-01-10 69/week @ 2020-01-17 14/week @ 2020-02-07

132 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
~70K SLoC