rust-gravatar

Build Status Cargo version License

Documentation

rust-gravatar is a small Rust library that generates Gravatar image URLs based on the official Gravatar specification.

Example

```rust extern crate gravatar; use gravatar::{Gravatar, Rating};

let mut g = Gravatar::new("email@example.com"); g.size = Some(150); g.rating = Some(Rating::Pg); asserteq!( g.imageurl(), "https://secure.gravatar.com/avatar/5658ffccee7f0ebfda2b226238b1eb6e\ ?s=150&r=pg" ); ```