# Maple lib tools A simple tools library for MapleImage. ## usage Add this to your Cargo.toml: ```yaml [dependencies] maple_lib = "0.1.3" ``` ## Examples ```rs use maple_lib::human_format; use std::time::Duration; let result = human_format(Duration::from_secs(59)); assert_eq!(result, "00h:00m:59s"); use maple_lib::pad_start; let result = pad_start("hello", 10, ' '); assert_eq!(result, " hello"); use maple_lib::execution_time; let result = execution_time(|| { 1+1 }); assert_eq!(result.0, 1); ``` ## publish ```sh cargo publish --registry crates-io # 然后输入.env中的密钥即可 ```