Skip to main content

Crate url_sanitize_core

Crate url_sanitize_core 

Source
Expand description

url-sanitize-core — pure-Rust implementation of the url-sanitize spec.

See docs/spec.md in the workspace root for the normative algorithm. The Rust types here mirror the TypeScript discriminated union 1:1 and serialize to identical JSON.

Structs§

Catalog
CatalogParseError
CompileError
MatchedRule
Sanitizer
SanitizerOptions

Enums§

RuleSource
SanitizeResult
SanitizerRule