url-sanitize-core 2.0.2

Pure-Rust library for removing tracking parameters and unwrapping tracking redirects.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! 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.

mod catalog;
mod compile;
mod sanitize;
mod types;

pub use catalog::{Catalog, CatalogParseError};
pub use compile::{CompileError, Sanitizer};
pub use types::{MatchedRule, RuleSource, SanitizeResult, SanitizerOptions, SanitizerRule};