crabscore-cost

Crates.iocrabscore-cost
lib.rscrabscore-cost
version0.1.1
created_at2025-07-12 20:18:29.441168+00
updated_at2025-07-12 21:41:36.934519+00
descriptionCost metrics collection for CrabScore - The Rust Efficiency Standard
homepagehttps://github.com/timarocks/crabscore
repositoryhttps://github.com/timarocks/crabscore
max_upload_size
id1749648
size28,377
Tima Rocks! (timarocks)

documentation

https://docs.rs/crabscore-cli

README

crabscore-cost

Cost metrics collection for CrabScore - The Rust Efficiency Standard.

Crates.io Documentation License

Overview

Infrastructure and operational cost calculation with pluggable providers for cloud services, development resources, and maintenance expenses.

Features

  • Cost Provider Interface: Extensible provider system
  • Static Provider: JSON-based cost configuration
  • Infrastructure Costs: Cloud, hosting, and compute expenses
  • Operational Costs: Monitoring, logging, and maintenance
  • Development Costs: Engineering time and resources
  • Async Interface: Non-blocking cost calculations

Usage

use crabscore_cost::provider::{CostProvider, StaticCostProvider};

let provider = StaticCostProvider::new("cost.json");
let metrics = provider.collect("project/path").await?;

Installation

[dependencies]
crabscore-cost = "0.1.0"

License

Licensed under Apache-2.0. See LICENSE for details.

Commit count: 0

cargo fmt