Expand description
simdutf8-cli — a small, security-hardened command-line front-end for the
simdutf8 crate.
The crate is split into focused, independently testable modules:
validate— thin, allocation-free wrappers aroundsimdutf8that turn a byte slice into avalidate::Validityverdict.path_security— hardened file opening that resolves symlinks, optionally confines inputs to a base directory, rejects non-regular files and bounds the number of bytes read (defence against path traversal, symlink and resource-exhaustion attacks).report— rendering of verdicts as human-readable text or JSON.cli— argument parsing and thecli::runentry point used by the binary and by the integration tests.
No unsafe code is used anywhere in this crate.