Gravatar image URL library
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Bauke 3719548607
Version 0.2.0.
1 month ago
source Make Generator non_exhaustive. 1 month ago
tests Replace individual snapshots with a Vec snapshot. 1 month ago
.gitignore Initial commit! 🎉 1 month ago
Cargo.toml Version 0.2.0. 1 month ago
LICENSE-Apache Initial commit! 🎉 1 month ago
LICENSE-MIT Initial commit! 🎉 1 month ago
README.md Add the readme. 1 month ago
rustfmt.toml Initial commit! 🎉 1 month ago

README.md

gravatar-rs

Gravatar image URL library

API

For full documentation see docs.rs.

use gravatar_rs::Generator;

let generator = Generator::default();

let gravatar_url = generator.generate("helllo@holllo.cc");

assert_eq!(
  gravatar_url,
  "https://www.gravatar.com/avatar/ebff9105dce4954b1bdb57fdab079ff3"
);

License

This project is licensed under either of Apache License, Version 2.0 or MIT license at your option.

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in either crate by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.