Expand description
Shared low-level utility helpers for Aster services.
This crate holds small, dependency-light helpers that do not belong to a single domain module: boolean-like string parsing, HTTP range/validator handling, checked numeric conversions, path rendering helpers, loopback host detection, UUID/token helpers, and RAII cleanup guards. The shared error type is intentionally simple so callers can map it into richer product errors.
Modules§
- avatar
- Avatar presentation helpers.
- backoff
- Shared exponential backoff calculations.
- bool_
like - Boolean-like string parsing.
- fs
- Best-effort filesystem cleanup helpers.
- html
- HTML and inline-script escaping helpers.
- http_
range - Transport-neutral parsing for a single HTTP byte range.
- http_
validators - Transport-neutral HTTP conditional request helpers.
- id
- UUID and token generation helpers.
- net
- Network address helpers.
- numbers
- Checked numeric conversion helpers.
- paths
- Path rendering and configuration-relative path helpers.
- raii
- RAII cleanup guards for short-lived runtime resources.
- text
- Text length and UTF-8-safe truncation helpers.
- url
- URL and origin normalization helpers.
Enums§
- Utils
Error - Error type used by generic utility helpers.
Type Aliases§
- Result
- Result type returned by utility helpers.