Quickstart
From the repository root:
nix build .#default
PREFIX=$(cd result && pwd -P)
printf '%s\n' '{"op":"redact","language":"en","text":"Contact alice@example.com"}' \
| "$PREFIX/bin/defingerprinter"
Response:
{"ok":true,"text":"Contact [EMAIL_1]"}
Use the API
Local documentation
nix develop .#docs -c mdbook serve --hostname 127.0.0.1 --port 3000
cargo doc --locked --no-deps
Open http://127.0.0.1:3000 for the handbook or target/doc/defingerprinter/index.html for the Rust API.