osc-cost 0.8.0

osc-cost helps measuring OUTSCALE infrastructure costs
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
pub mod human;
pub mod json;
pub mod markdown;
pub mod ods;
pub mod prometheus;

fn get_currency(region: &str) -> String {
    match region {
        "eu-west-2" | "cloudgouv-eu-west-1" => String::from(""),
        "ap-northeast-1" => String::from("¥"),
        "us-east-2" | "us-west-1" => String::from("$"),
        _ => String::from(""),
    }
}