Skip to content
CAI
Software that uses CAICheck a score

johnthagen/min-sized-rust

52.9

Weak · 29 September 2026

83

lines of production code

Rust

primary language

2

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

This system is a collection of Rust example projects designed to demonstrate building applications in constrained environments. It provides minimal 'Hello, world!' implementations for both standard and no\_std contexts across Linux and Windows platforms. The repository showcases techniques for bypassing standard entry points and managing dependencies without the full standard library.

Features

Add no\_std example projects for Linux and Windows

New example projects have been added for Linux (no\_std/nix) and Windows (no\_std/win) that demonstrate how to build and run a 'Hello, world!' application in a no\_std environment. The Linux example uses the libc crate to print to stdout, while the Windows example uses the windows-sys crate to write directly to the console via Win32 API calls.

_no\_std/nix, no\std/win · high confidence

Add no\_std-compatible entry points for Unix and Windows

New \no\_main\ examples have been added for both Unix and Windows platforms, providing custom \main\ functions that bypass the standard library's default entry point. The Unix implementation (\no\_main/nix\) uses raw file descriptors to write to stdout, while the Windows implementation (\no\_main/win\) calls \GetStdHandle\ from \kernel32\ to access the console output. These changes allow the application to run in environments where the standard \main\ symbol is not desired or available.

_no\_main/nix, no\main/win · high confidence

Initial minimal Hello World example added

A new minimal Rust application has been added to the source tree, consisting solely of a main function that prints 'Hello, world!' to the console. This serves as a basic starting point or example for the project.

src · high confidence

Behavioural changes

Replace Xargo with build-std

The build process for the standard library has switched from using Xargo to Rust's native build-std feature. This change simplifies the toolchain requirements by removing the dependency on Xargo, allowing users to build the standard library using standard Rust tooling without additional external dependencies.

_build\std · medium confidence

Dependencies

Add Cargo lockfiles and update dependency specifications for examples

This change introduces Cargo.lock files for all example projects (min-sized-rust, build\_std, no\_main, and no\_std variants) to ensure reproducible builds. It also updates the dependency declarations in the no\_std examples: the Linux variant now explicitly depends on libc version 0.2 with default features disabled, while the Windows variant depends on windows-sys version 0.52.0 with specific Win32 features enabled.

(dependencies) · high confidence

Written by watchdog.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

How this codebase got here

Score

  • CAI 57 → 53 (-4.5)
  • Rubric changed (rubric-2026.09.8 → rubric-2026.09.17) — scores are not directly comparable.

Lenses

  • Code Health 100 → 100 (+0.0)
  • Architecture 100 → 100 (+0.0)
  • Maturity 61 → 61 (+0.0)
  • Readiness 31 → 22 (-9.5)
  • Security 100 → 100 (+0.0)

Resolved (2)

  • Documentation: no installation or build instructions (README.md)
  • Documentation: no usage examples (README.md)

New (1)

  • Dependency hygiene PARTLY measured — Cargo dependencies read, no committed lock to grade for currency

Written by watchdog.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

Survey your own repository

johnthagen/min-sized-rust was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.

About this page

  • The score is its most recent published measurement, taken on 29 September 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit 24233f98d9a8a484302408ed6b5431ed8f720321 — the exact code this score is about.
  • Scored under rubric-2026.09.17 — the same rubric and the same method as every other entry in this index.
  • Measured by watchdog.canine.dev using codehealth-analyzer preprod-fbec9b1e08c2.