//! Portable filesystem input paths for catalog discovery.
use ;
/// Validate a relative path without filesystem access or normalization.
///
/// `field` identifies the setting in diagnostics. A single `.` is accepted;
/// absolute paths, parent components, backslashes, `:` and `#` are not.
/// Filesystem existence and symlink checks belong to discovery, not this function.
///
/// # Errors
/// Rejects empty/non-UTF-8 paths, parent/root/prefix components, `\\`, `#` and `:`.
///
pub