1
Fork 0
Gravatar image URL library for Rust. https://crates.io/crates/gravatar-rs
Go to file
Bauke 4495738d19
Update dependencies.
2024-01-21 12:26:27 +01:00
source Update Holllo email. 2022-09-26 12:12:45 +02:00
tests Update Holllo email. 2022-09-26 12:12:45 +02:00
.envrc Add Nix flake and direnv files. 2024-01-21 12:24:45 +01:00
.gitignore Add Nix flake and direnv files. 2024-01-21 12:24:45 +01:00
Cargo.toml Update dependencies. 2024-01-21 12:26:27 +01:00
LICENSE-Apache Initial commit! 🎉 2022-04-02 14:05:23 +02:00
LICENSE-MIT Update Holllo email. 2022-09-26 12:12:45 +02:00
Makefile.toml Add Nix flake and direnv files. 2024-01-21 12:24:45 +01:00
README.md Rewrite readme. 2022-09-26 12:12:31 +02:00
flake.lock Add Nix flake and direnv files. 2024-01-21 12:24:45 +01:00
flake.nix Add Nix flake and direnv files. 2024-01-21 12:24:45 +01:00
rustfmt.toml Initial commit! 🎉 2022-04-02 14:05:23 +02:00
rustup-toolchain.toml Add Nix flake and direnv files. 2024-01-21 12:24:45 +01:00
shell.nix Add Nix flake and direnv files. 2024-01-21 12:24:45 +01:00

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.