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

Download history 5/week @ 2026-02-25 76/week @ 2026-03-04 29/week @ 2026-03-11 57/week @ 2026-03-18 28/week @ 2026-03-25 20/week @ 2026-04-01 41/week @ 2026-04-08

154 downloads per month
Used in 24 crates

MIT/Apache

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_VERSION
  • AnalysisReceipt, 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

Dependencies

~2–3MB
~73K SLoC