A simple tools library for MapleImage.
Add this to your Cargo.toml:
yaml
[dependencies]
maple_lib = "0.1.2"
```rs use maplelib::humanformat; use std::time::Duration;
let result = humanformat(Duration::fromsecs(59)); assert_eq!(result, "00h:00m:59s");
use maplelib::padstart;
let result = padstart("hello", 10, ' '); asserteq!(result, " hello"); ```