3.6 KiB
🔃 Dependencies
PageTop is developed in the Rust programming language and stands on the shoulders of true giants, using some of the most stable and renowned libraries (crates) from the Rust ecosystem, such as:
- Actix Web for web services and server management.
- Tracing for the diagnostic system and structured logging.
- Fluent templates that incorporate Fluent for project internationalization.
- SeaORM which employs SQLx for database access and modeling.
- Among others, which you can review in the PageTop
Cargo.tomlfile.
⌨️ Code
PageTop integrates code from various renowned crates to enhance functionality:
-
Config (v0.11.0): Includes code from config-rs by Ryan Leckey, chosen for its advantages in reading configuration settings and delegating assignment to safe types, tailored to the specific needs of each package, theme, or application.
-
Maud (v0.25.0): An adapted version of the excellent maud crate by Chris Wong is incorporated to leverage its functionalities without requiring a reference to
maudin theCargo.tomlfiles. -
SmartDefault (v0.7.1): Embedded SmartDefault by Jane Doe as
AutoDefaultto simplify the documentation of Default implementations and also removes the need to explicitly listsmart_defaultin theCargo.tomlfiles. -
Database Operations: PageTop employs SQLx and SeaQuery, complemented by a custom version of SeaORM Migration (version 0.12.8). This modification ensures migration processes are confined to specific packages, enhancing modularity and maintainability.
🗚 FIGfonts
PageTop uses the figlet-rs package by yuanbohan to display a
presentation banner in the terminal with the application's name using
FIGlet characters. The fonts included in src/app are:
- slant.flf by Glenn Chappell
- small.flf by Glenn Chappell (default)
- speed.flf by Claude Martins
- starwars.flf by Ryan Youck
📰 Templates
- The default welcome homepage design is based on the Zinc template created by inovatik and distributed by ThemeWagon.
🎨 Icon
"The creature" smiling is a fun creation by Webalys. It can be found in their Nasty Icons collection available on ICONFINDER.