url 0.2.1

URL parser for Rust
docs.rs failed to build url-0.2.1
Please check the build logs and, if you believe this is docs.rs' fault, open an issue.


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 dependency.


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.