url_sanitize_core/lib.rs
1//! url-sanitize-core — pure-Rust implementation of the url-sanitize spec.
2//!
3//! See `docs/spec.md` in the workspace root for the normative algorithm. The
4//! Rust types here mirror the TypeScript discriminated union 1:1 and serialize
5//! to identical JSON.
6
7mod catalog;
8mod compile;
9mod sanitize;
10mod types;
11
12pub use catalog::{Catalog, CatalogParseError};
13pub use compile::{CompileError, Sanitizer};
14pub use types::{MatchedRule, RuleSource, SanitizeResult, SanitizerOptions, SanitizerRule};