// SPDX-License-Identifier: Apache-2.0
// SPDX-FileCopyrightText: 2025,2026 ndaal Gesellschaft für Sicherheit in der Informationstechnik mbH & Co KG, Cologne
// SPDX-FileCopyrightText: Author: Pierre Gronau <Pierre.Gronau@ndaal.eu>
//! `simdutf8-cli` — a small, security-hardened command-line front-end for the
//! [`simdutf8`](https://crates.io/crates/simdutf8) crate.
//!
//! The crate is split into focused, independently testable modules:
//!
//! * [`validate`] — thin, allocation-free wrappers around `simdutf8` that turn a
//! byte slice into a [`validate::Validity`] verdict.
//! * [`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 the [`cli::run`] entry point used by the
//! binary and by the integration tests.
//!
//! No `unsafe` code is used anywhere in this crate.