crabscore-cost 0.1.1

Cost metrics collection for CrabScore - The Rust Efficiency Standard
Documentation

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.