tokmd-module-key 1.9.0

Single-responsibility module key derivation for deterministic path grouping.
Documentation

tokmd-module-key

Deterministic module-key derivation for tokmd paths.

Problem

Module grouping has to stay stable across path separators, prefixes, and repository layouts.

What it gives you

  • module_key(path: &str, module_roots: &[String], module_depth: usize) -> String
  • module_key_from_normalized(path: &str, module_roots: &[String], module_depth: usize) -> String

API / usage notes

  • Use this crate after path normalization.
  • It keeps module grouping deterministic by combining path shape, roots, and depth.
  • src/lib.rs documents the exact matching rules.

Go deeper