URL parser for Rust
docs.rs/url/

Simon Sapin 4091e1437a Add a TODO list 12 anni fa
.gitignore 0339bc2d9a Start with an empty crate. 13 anni fa
LICENSE-APACHE 0339bc2d9a Start with an empty crate. 13 anni fa
LICENSE-MIT 0339bc2d9a Start with an empty crate. 13 anni fa
Makefile.in 9835ae3bc3 Test and fix punycode decoding. 12 anni fa
README.md 4091e1437a Add a TODO list 12 anni fa
configure 0339bc2d9a Start with an empty crate. 13 anni fa
parser.rs 8ecc7ad1e1 Add an URL parser, functional style rather than the spec’s state machine 12 anni fa
punycode.rs c62ce0bd16 Upgrade tests to current rustc. 12 anni fa
punycode_tests.json 9835ae3bc3 Test and fix punycode decoding. 12 anni fa
tests.rs af590112c2 Fix tests. 12 anni fa
url.rs 4091e1437a Add a TODO list 12 anni fa
urltestdata.txt af590112c2 Fix tests. 12 anni fa

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.