simdutf8-cli 0.1.6

SIMD-accelerated UTF-8 validation CLI built on the simdutf8 crate, with hardened path handling.
Documentation
// 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.

#![forbid(unsafe_code)]
#![warn(missing_docs)]
#![warn(rust_2018_idioms)]

pub mod cli;
pub mod path_security;
pub mod report;
pub mod validate;