gravatar 0.1.2

A small library that generates Gravatar image URLs.
docs.rs failed to build gravatar-0.1.2
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build: gravatar-0.2.0

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

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

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