RoboHash

Rust implementation of RoboHash by e1ven

Install

bash robohash = "0.2.0"

Example Implementation

```rust use std::fmt::Error; use robohash::RoboHashBuilder;

fn main() -> Result<(), Error> { let text = "test"; let robo = RoboHashBuilder::new(text).build(); let robohash = robo.assemblebase64()?; println!("{robo_hash:#?}"); Ok(()) } ```

Define Colour

rust let robo = RoboHashBuilder::new("test") .with_colour(Colour::Green) .build();

Define Set

rust let robo = RoboHashBuilder::new("test") .with_set(Set::Set3) .build();

Change Sets Directory

rust let robo = RoboHashBuilder::new("test") .with_set_location("./sets_location") .build();

Full Example

```rust use std::fmt::Error; use robohash::RoboHashBuilder;

fn main() -> Result<(), Error> { let text = "test"; let robo = RoboHashBuilder::new(text) .withset(Set::Set1) .withcolour(Colour::Green) .withsetlocation("./sets-root") .build(); let robohash = robo.assemblebase64()?; println!("{robo_hash:#?}"); Ok(()) } ```

Implemented

Todo