1
Fork 0
Gravatar image URL library for Rust. https://crates.io/crates/gravatar-rs
Go to file
Bauke a1ab028c81
Redo the cargo-make configuration to make use of default tasks.
2024-01-21 12:43:04 +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 Redo the cargo-make configuration to make use of default tasks. 2024-01-21 12:43:04 +01:00
README.md Add the Development section. 2024-01-21 12:28:00 +01: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 other cargo utilities. 2024-01-21 12:38:51 +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"
);

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.