#file-header #documentation #gates #scan #header-plan #annotator

bin+lib code_passenger

Language-pack + header-plan driven code annotator: scans usage + auto-generates feature gates and doc headers

3 releases

Uses new Rust 2024

new 0.1.2 Feb 8, 2026
0.1.1 Feb 7, 2026
0.1.0 Feb 6, 2026

#418 in Template engine

MIT/Apache

85KB
2K SLoC


check out report.json, it was made by doing this:

cargo run -- --root ../classified --src src --json scan


if you wanna see the crate it was made from, go check out:

https://github.com/jameshuntt/classified


it is designed to make file headers and documentations that explains itself

it is intended to be a templating engine for max flexibility


intended to produce things like this on command:

//! ----------------------------------------------
//! DOCUMENT DETAILS -----------------------------
//! 
//! filename:thread_pool_manager.rs
//! description:
//! usages:none in crate yet
//! 
//! ----------------------------------------------
//! FEATURE NOTES --------------------------------
//! 
//! feature_name:async
//! deps:[tokio][async_trait]
//! scope:[impl ThreadPoolManager]
//! corpus:true
//! 
//! feature_name:std
//! deps:[std]
//! scope:[impl ThreadPoolManager]
//! corpus:false
//! 
//! ----------------------------------------------
//! CORPUS FEATURES ------------------------------
//! 
#![cfg(feature = "async")]
#![cfg(feature = "std")]

Dependencies

~10–15MB
~281K SLoC