| Crates.io | crabscore-core |
| lib.rs | crabscore-core |
| version | 0.1.1 |
| created_at | 2025-07-12 20:16:18.318849+00 |
| updated_at | 2025-07-12 21:39:11.242579+00 |
| description | Core functionality for CrabScore - The Rust Efficiency Standard |
| homepage | https://github.com/timarocks/crabscore |
| repository | https://github.com/timarocks/crabscore |
| max_upload_size | |
| id | 1749643 |
| size | 56,222 |
Core functionality for CrabScore - The Rust Efficiency Standard.
This crate provides the fundamental data structures and algorithms for calculating and analyzing software efficiency metrics in Rust projects.
#![forbid(unsafe_code)] for maximum safetyuse crabscore_core::{CrabScore, IndustryProfile, scoring::ScoringEngine};
let engine = ScoringEngine::new(IndustryProfile::WebServices);
let score = engine.calculate_score(&perf, &energy, &cost, &safety);
[dependencies]
crabscore-core = "0.1.0"
Licensed under Apache-2.0. See LICENSE for details.