harsh 0.2.2

Hashids implementation for Rust
Documentation
1
2
3
4
5
6
7
8
9
10
use std::{env, error::Error};

use harsh::Harsh;

fn main() -> Result<(), Box<dyn Error>> {
    let harsh = Harsh::default();
    let input = env::args().nth(1).expect("Wut?");
    println!("{:?}", harsh.decode(input));
    Ok(())
}