cans/
lib.rs

1#![doc(html_logo_url = "https://github.com/dr-montasir/cans/raw/HEAD/cans-logo.svg")]
2#![doc = r"<div align='center'><a href='https://github.com/dr-montasir/cans' target='_blank'><img src='https://github.com/dr-montasir/cans/raw/HEAD/cans-logo.svg' alt='CANS' width='80' height='auto' /></a><br><a href='https://github.com/dr-montasir/cans' target='_blank'>CANS</a><br><br><b>An elegant and lightweight Rust-based literal template engine for managing web content, enhanced with a world module for streamlined regional and city information, as well as robust MIME type management.</b></div>"]
3
4/// An elegant and lightweight Rust-based literal template engine for managing web content,
5/// enhanced with a world module for streamlined regional and city information,
6/// as well as robust MIME type management.
7///
8/// ### HTML Module
9///
10/// A set of functions and macros for generating and manipulating various content.
11pub mod content;
12
13/// ### Mime Module
14///
15/// A set of functions for managing MIME types using a HashMap.
16pub mod mime;
17
18/// ### Rules Module
19///
20/// A module that encapsulates the rules and functionalities of the `do_html` macro.
21pub mod rules;
22
23// ### World Module
24///
25/// A module that encapsulates managing country details, including insertion, deletion, retrieval, and sorting.
26/// It enables dynamic management of a collection of countries and their associated cities.
27/// Users can efficiently reset the dataset to accommodate new data for testing purposes.
28/// The module promotes data integrity and optimal memory management through precise control over entries.
29/// It allows for easy querying and manipulation of country and city information to support various applications.
30pub mod world;