Expand description
A lightweight Rust crate to help you build awesome tools
It’s designed to be framework-less and relatively simple while providing awesome helper functions for basic tasks that almost any program needs to do. These tasks include reading a config file with multiple paths (user and global), printing with color similar to println!() and getting user directories cross-platform.
To add it to your dependencies, either run:
cargo add apputils
Or update your Cargo.toml:
[dependencies]
apputils = "0.1.0"
§Printing with color
use apputils::Colors;
use apputils::paintln;
paintln!(Colors::White, "I'm white.");
paintln!(Colors::Black, "I'm black.");
paintln!(Colors::Yellow, "I'm yellow.");
paintln!(Colors::Red, "I'm red.");
paintln!(Colors::Rgb(35, 170, 242), "I'm #23AAF2.");Modules§
- Config file helpers
- User environment wrappers
Macros§
Enums§
- Console Colors