A pure Rust implementation of URL library based on ada-url.
This library is experimental; for production use, consider using url crate or ada-url/rust.
url is a widely used Rust URL parsing library. However, this library does not pass 100% of Web Platform Tests. Additionally, creating JavaScript bindings for this Rust-native crate requires some adaptation. ars is designed to address these limitations.
ada-url is a fast and WHATWG-compliant URL parsing library written in C++. This library is used by many projects, including Node.js, and provides ada-url/rust as Rust bindings. Unlike the url crate, ada-url passes 100% of WPT. However, using C++ in a Rust library complicates the build environment for some targets. ars is written entirely in Rust to avoid this complexity.
MIT
This project's tests and benchmarking code incorporate material from third parties, but they are provided for research purposes only and not part of the library.