From 1bcaca65c9cf18a98ac8d2b37169ee57a7365482 Mon Sep 17 00:00:00 2001 From: Nashira Deer Date: Tue, 20 Aug 2024 00:05:24 +0000 Subject: [PATCH] feat: document main module and warn for missing docs --- src/lib.rs | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/lib.rs b/src/lib.rs index e69de29..0e485fe 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -0,0 +1,12 @@ +//! Nashira Deer // Hydrogen I18n +//! +//! In-memory language loader and manager for client and server-side applications. +//! +//! [![PayPal](https://img.shields.io/badge/Paypal-003087?style=for-the-badge&logo=paypal&logoColor=%23fff)](https://www.paypal.com/donate/?business=QQGMTC3FQAJF6&no_recurring=0&item_name=Thanks+for+donating+for+me%2C+this+helps+me+a+lot+to+continue+developing+and+maintaining+my+projects.¤cy_code=USD) +//! [![GitHub Sponsor](https://img.shields.io/badge/GitHub%20Sponsor-181717?style=for-the-badge&logo=github&logoColor=%23fff)](https://github.com/sponsors/nashiradeer) +//! [![Crates.io](https://img.shields.io/crates/v/hydrogen-i18n?style=for-the-badge&logo=rust&logoColor=%23fff&label=Crates.io&labelColor=%23000&color=%23000)](https://crates.io/crates/hydrogen-i18n) +//! [![docs.rs](https://img.shields.io/docsrs/hydrogen-i18n?style=for-the-badge&logo=docsdotrs&logoColor=%23fff&label=Docs.rs&labelColor=%23000&color=%23000)](https://docs.rs/hydrogen-i18n/) +//! +//! Hydrogen I18n is built to make handling multiple languages easy, intuitive, and fast as it loads everything in memory, avoiding disk and CPU overhead during the application execution, but it can also be used to load a single language for use in client-side applications, you can also share the translation files with other projects in other languages as the language files don't have a proprietary or Rust-specific format. + +#![warn(missing_docs)] \ No newline at end of file