URL parser for Rust
docs.rs/url/

Simon Sapin 2bb8cf786b Turns out [Ascii] isn’t that useful. Switch to str. vor 12 Jahren
.gitignore 0339bc2d9a Start with an empty crate. vor 13 Jahren
LICENSE-APACHE 0339bc2d9a Start with an empty crate. vor 13 Jahren
LICENSE-MIT 0339bc2d9a Start with an empty crate. vor 13 Jahren
Makefile.in 9835ae3bc3 Test and fix punycode decoding. vor 12 Jahren
README.md 4091e1437a Add a TODO list vor 12 Jahren
configure 0339bc2d9a Start with an empty crate. vor 13 Jahren
parser.rs 2bb8cf786b Turns out [Ascii] isn’t that useful. Switch to str. vor 12 Jahren
punycode.rs 2bb8cf786b Turns out [Ascii] isn’t that useful. Switch to str. vor 12 Jahren
punycode_tests.json 9835ae3bc3 Test and fix punycode decoding. vor 12 Jahren
tests.rs 2bb8cf786b Turns out [Ascii] isn’t that useful. Switch to str. vor 12 Jahren
url.rs 2bb8cf786b Turns out [Ascii] isn’t that useful. Switch to str. vor 12 Jahren
urltestdata.txt af590112c2 Fix tests. vor 12 Jahren

README.md

rust-url

Rust implementation of the URL Standard.

See Rust bug #10707.

This depends on rust-encoding.

To do

Not necessarily in the given order:

  • Bikeshed the API
  • Add data: URL parsing.
  • Port rust-http and Servo.
  • 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.
  • Report know/suspected spec bugs and test suite bugs.
  • Refactor to reduce code duplication.
  • Consider switching the spec from a state machine to functional style, like this code.