Gravatar image URL library for Rust.
https://crates.io/crates/gravatar-rs
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.
|
4 months ago | |
---|---|---|
source | 4 months ago | |
tests | 4 months ago | |
.gitignore | 4 months ago | |
Cargo.toml | 4 months ago | |
LICENSE-Apache | 10 months ago | |
LICENSE-MIT | 4 months ago | |
Makefile.toml | 4 months ago | |
README.md | 4 months ago | |
rustfmt.toml | 10 months ago |
README.md
Gravatar 📇 Rust
Gravatar image URL library for Rust.
API
For full documentation see docs.rs.
Example
use gravatar_rs::Generator;
let generator = Generator::default();
let gravatar_url = generator.generate("helllo@holllo.org");
assert_eq!(
gravatar_url,
"https://www.gravatar.com/avatar/e9a2c03d607ec80a5b725ad42c19ee36"
);
Feedback
Found a problem or want to request a new feature? Email helllo@holllo.org and I'll see what I can do for you.
License
Distributed under the Apache License 2.0 and MIT licenses, see LICENSE-Apache and LICENSE-MIT for more information.