8 stable releases
Uses new Rust 2024
| 1.9.0 | Mar 28, 2026 |
|---|---|
| 1.8.1 | Mar 20, 2026 |
| 1.7.2 | Feb 25, 2026 |
| 1.3.0 | Jan 31, 2026 |
#2470 in Data structures
154 downloads per month
Used in 24 crates
250KB
3.5K
SLoC
tokmd-analysis-types
Tier 0 (Analysis Contract)
Pure data structures for analysis receipts. No I/O or business logic.
What belongs here
- Analysis-specific receipt types and findings
- Schema definitions for analysis outputs
- Type enums for classification results
What does NOT belong here
- Analysis computation logic (use tokmd-analysis)
- Formatting logic (use tokmd-analysis-format)
- File I/O operations
tokmd-analysis-types
Analysis receipt contracts and shared report types.
Problem
You need a stable analysis schema without pulling in orchestration or rendering code.
What it gives you
ANALYSIS_SCHEMA_VERSIONAnalysisReceipt,AnalysisSource,AnalysisArgsMeta- Shared report and finding structs used by the analysis presets
Integration notes
- Pure data and serialization, with deterministic ordering at the type boundary.
ANALYSIS_SCHEMA_VERSION = 9.- Includes the optional sections used by the analysis preset matrix.
Go deeper
- Tutorial: Tutorial
- How-to: Recipes
- Reference: Architecture, Schema, Schema JSON
- Explanation: Explanation
Dependencies
~2–3MB
~73K SLoC