Expand description
Domain newtypes: parse at the boundary, carry validity in the type.
Follows parse-don’t-validate: only fallible constructors build values.
Core path APIs take these types by reference so the compiler keeps the proof
(see docs/decisions/0006-type-system-posture.md and
docs/decisions/0008-domain-types-posture.md for url-only of the four
generic domain crates — no chrono/uuid/rust_decimal).
§Naming note
Product commands such as get-item and HTTP helpers such as get_json /
get_html use the verb get for the operation, not as a field getter
(name() not get_name()).
Structs§
- Allowed
Origin - HTTPS (or gated loopback) origin that passed the product SSRF allowlist.
- Crate
Name - Validated crates.io / stdlib crate name.
- Crate
Ref - Crate reference with optional
name@versionsugar (R2). - Item
Path - Validated rustdoc item path (
tokio::runtime::Runtimeorruntime/Runtime). - Search
Query - Validated search query string.
- Version
Arg - Validated crate version token (
latest, channel, or SemVer withoutvprefix).
Enums§
- Match
Mode - Text match policy for
search-in-crate(GAP-001 / GAP-019).
Functions§
- is_
stdlib_ name - True when
nameis a Rust standard library crate (std/core/alloc).