/rust-url

URL parser for Rust

Primary LanguageRustApache License 2.0Apache-2.0

rust-url

Build Status

Rust implementation of the URL Standard.

This is a replacement for Rust’s “old” (as of July 2014) url crate. See Rust bug #10707.

This builds with Cargo, pulling in rust-encoding as a depedency.

Documentation

To do

Not necessarily in the given order:

  • Deprecate and later remove rustc’s old liburl
  • Add data: URL parsing.
  • Add IDNA support. Non-ASCII domains are a parse error for now. Punycode is done, Nameprep is the other big part.
  • Add lots of tests. Contribute them to web-platform-tests.
  • Consider switching the spec from a state machine to functional style, like this code.