svenstaro/miniserve
65.7
Adequate · 14 November 2026
4.6k
lines of production code
Rust
primary language
5
measurements over time
What this system is
Features
Initial project scaffolding and documentation
The repository is initialized with the core project files, including a comprehensive README detailing usage and features, a CHANGELOG following the Keep a Changelog format, and configuration files for Rust tooling (rustfmt.toml, .editorconfig). Build and release infrastructure is added via a Makefile, release.toml, and Containerfiles for Docker images, alongside standard repository files like .gitignore and .dockerignore.
(repo-wide) · high confidence
Behavioural changes
Hardened systemd service unit for miniserve
The packaging now includes a new systemd unit file (miniserve@.service) that runs the application as a dynamic user with strict security restrictions. This unit enables IP accounting, restricts network access to localhost, isolates the file system and devices, and limits capabilities to only those required for binding to privileged ports, significantly reducing the attack surface compared to previous configurations.
packaging · high confidence
Major architectural overhaul to Rust 2024 and actix-web v4
The application has been refactored to use the Rust 2024 edition and upgraded to actix-web v4.0-beta.15, replacing the previous actix-web v3 implementation. This change introduces a new modular source structure with dedicated modules for archive creation, authentication, file operations, and configuration. The CLI argument parsing has been migrated from structopt to clap v4, and the rendering engine now uses the maud template library. These updates modernize the codebase and improve performance and maintainability.
src · high confidence
New branding and theme system
The application now features a new SVG logo and a redesigned visual identity. The styling has been refactored to use a modular SCSS architecture, separating color definitions into individual theme files (Arch Linux, Ayu Dark, Monokai, Squirrel, and Zenburn) which are imported by a main stylesheet. This change introduces CSS custom properties for consistent theming across the interface, including specific styles for the upload modal and file list.
data · high confidence
Test coverage
Added test utility functions for HTML link extraction; Centralized test fixtures and server harness; Comprehensive integration test suite for miniserve.
Dependencies
Initial release of miniserve v0.35.0 with Rust 2024 and Actix-web v4
This commit introduces the initial codebase for miniserve version 0.35.0, establishing the project's dependency manifest (Cargo.toml) and lockfile (Cargo.lock). The application is built on the Rust 2024 edition and utilizes the Actix-web v4 framework (alongside actix-files v0.7 and actix-multipart v0.8) for HTTP serving. Key features enabled by these dependencies include Markdown rendering via comrak v0.55, QR code generation using fast\_qr v0.14, and optional TLS support via rustls v0.23. The project also integrates clap v4 for command-line argument parsing, dav-server v0.11 for WebDAV support, and maud v0.27 for HTML templating.
(dependencies) · high confidence
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
How this codebase got here
Score
- CAI 66 → 66 (-0.7)
- Rubric changed (rubric-2026.10.5 → rubric-2026.11.4) — scores are not directly comparable.
Lenses
- Code Health 76 → 76 (-0.3)
- Architecture 97 → 97 (+0.0)
- Maturity 56 → 56 (+0.0)
- Readiness 75 → 74 (-0.6)
- Security 72 → 69 (-2.4)
- Performance 85 → 85 (+0.0)
Resolved (30)
- Duplicated block (5 lines × 2) (src/file_op.rs)
- Flaky test: miniserve::readme.show_nested_readme_contents::case_3
- Inverted test pyramid
- Medium CVE: RUSTSEC-2026-0382 (Cargo.lock)
- Medium CVE: RUSTSEC-2026-0383 (Cargo.lock)
- Medium advisory (unsound): RUSTSEC-2026-0386 (Cargo.lock)
- Medium advisory (unsound): RUSTSEC-2026-0395 (Cargo.lock)
- Medium advisory (unsound): RUSTSEC-2026-0396 (Cargo.lock)
- Medium advisory (unsound): RUSTSEC-2026-0397 (Cargo.lock)
- Medium advisory (unsound): RUSTSEC-2026-0399 (Cargo.lock)
- Medium advisory (unsound): RUSTSEC-2026-0400 (Cargo.lock)
- Medium advisory (unsound): RUSTSEC-2026-0401 (Cargo.lock)
- Medium advisory (unsound): RUSTSEC-2026-0402 (Cargo.lock)
- Medium advisory (unsound): RUSTSEC-2026-0404 (Cargo.lock)
- Medium advisory (unsound): RUSTSEC-2026-0405 (Cargo.lock)
- Medium advisory (unsound): RUSTSEC-2026-0406 (Cargo.lock)
- Medium vulnerability: [GHSA redacted] (Cargo.lock)
- Medium vulnerability: RUSTSEC-2026-0258 (Cargo.lock)
- Medium vulnerability: RUSTSEC-2026-0346 (Cargo.lock)
- Medium vulnerability: RUSTSEC-2026-0367 (Cargo.lock)
- …and 10 more
New (11)
- Duplicated block (5 lines × 2) (src/file_op.rs)
- Edited copy of a member (14 corresponding lines) (src/archive.rs)
- Flaky test: miniserve::archive.zip_archives_store_entry_name_in_unix_style (tests/archive.rs)
- Medium CVE: RUSTSEC-2026-0447 (Cargo.lock)
- Medium vulnerability: RUSTSEC-2026-0443 (Cargo.lock)
- Medium vulnerability: RUSTSEC-2026-0446 (Cargo.lock)
- No ADRs found (src/main.rs)
- Off-boarding risk: anonymized user #1
- Outdated: actix-multipart
- Outdated: mime
- Outdated: zip
Changes since last survey
- 3 commits — 3 feature/other, 0 fixes
By area
- (root) — 2 commits
- (repo) — 1 commit
Notable commits
- change: Bump deps
- change: Merge pull request #1591 from svenstaro/switch-from-grass-to-sasso
- change: Switch from grass to sasso
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
Survey your own repository
svenstaro/miniserve 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 14 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
- Measured at commit 68b6f063cd633578e6be329757f27432f53b0de3 — the exact code this score is about.
- Scored under rubric-2026.11.4 — the same rubric and the same method as every other entry in this index.
- Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.65+preprod-e1a3b69fc8ee.