Gravatar image URL library for Rust.
https://crates.io/crates/gravatar-rs
Bauke 5ed5427194 | ||
---|---|---|
source | ||
tests | ||
.envrc | ||
.gitignore | ||
Cargo.toml | ||
LICENSE-Apache | ||
LICENSE-MIT | ||
Makefile.toml | ||
README.md | ||
flake.lock | ||
flake.nix | ||
rustfmt.toml | ||
rustup-toolchain.toml | ||
shell.nix |
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.