Skip to main content

Crate aster_forge_utils

Crate aster_forge_utils 

Source
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§

UtilsError
Error type used by generic utility helpers.

Type Aliases§

Result
Result type returned by utility helpers.