kyanite 0.5.1

A modular, expandable, gallery collector.
1
2
3
4
5
6
7
pub struct KyaniteUtility;

impl KyaniteUtility {
    pub fn human_size(size: f64, power: f64, metric: &'static str) -> String {
        format!("{:.2} {}", size / 1024f64.powf(power), metric)
    }
}