Skip to main content

Module domain

Module domain 

Source
Expand description

Domain newtypes: parse at the boundary, carry validity in the type.

Follows parse-don’t-validate: only fallible constructors build values.

Structs§

CrateName
Validated crates.io / stdlib crate name.
ItemPath
Validated rustdoc item path (tokio::runtime::Runtime or runtime/Runtime).
SearchQuery
Validated search query string.
VersionArg
Validated crate version token (latest, channel, or SemVer without v prefix).

Enums§

MatchMode
Text match policy for search-in-crate (GAP-001 / GAP-019).