Module validation

Source
Expand description

Configuration value validation utilities.

This module provides comprehensive validation for configuration values, ensuring type safety and constraint compliance.

Functionsยง

parse_bool
Parse boolean value from string.
validate_api_key
Validate API key format.
validate_enum
Validate a string value against a list of allowed values.
validate_float_range
Validate a float value within a specified range.
validate_u64_range
Validate a u64 value within a specified range.
validate_uint_range
Validate an unsigned integer within a specified range.
validate_url
Validate URL format.
validate_usize_range
Validate a usize value within a specified range.