All crates

data-classification

Reads a text document, applies the rules a versioned policy pack declares, and emits JSON naming what it found, where it found it and which policy produced the answer. It recommends a sensitivity tier. A label rises to the highest tier the document holds, and only a recorded human decision lowers it. The exit code is the answer a script reads, and the JSON is the evidence a person reads.

Install

# library
cargo add data-classification
# command-line tool
cargo install data-classification