gravatar-rs

Crates.iogravatar-rs
lib.rsgravatar-rs
version0.2.3
sourcesrc
created_at2022-04-02 12:35:00.380304
updated_at2024-01-21 11:43:38.46853
descriptionGravatar image URL library
homepage
repositoryhttps://git.bauke.xyz/Holllo/gravatar-rs
max_upload_size
id560919
size29,673
Bauke (Bauke)

documentation

README

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"
);

Development

With Nix flakes and direnv installed and enabled, all the required dependencies are automatically loaded from shell.nix. Then cargo-make can be used to build, deploy and lint the code. The available tasks are all described in the Makefile.toml configuration.

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.

Commit count: 0

cargo fmt