URL parser for Rust
docs.rs/url/

Simon Sapin 3662f92224 Move application/x-www-form-urlencoded stuff into a module. пре 12 година
.gitignore 0339bc2d9a Start with an empty crate. пре 13 година
LICENSE-APACHE 0339bc2d9a Start with an empty crate. пре 13 година
LICENSE-MIT 0339bc2d9a Start with an empty crate. пре 13 година
Makefile.in 9835ae3bc3 Test and fix punycode decoding. пре 12 година
README.md 4091e1437a Add a TODO list пре 12 година
configure 0339bc2d9a Start with an empty crate. пре 13 година
form_urlencoded.rs 3662f92224 Move application/x-www-form-urlencoded stuff into a module. пре 12 година
parser.rs 3662f92224 Move application/x-www-form-urlencoded stuff into a module. пре 12 година
punycode.rs 2bb8cf786b Turns out [Ascii] isn’t that useful. Switch to str. пре 12 година
punycode_tests.json 9835ae3bc3 Test and fix punycode decoding. пре 12 година
tests.rs 3662f92224 Move application/x-www-form-urlencoded stuff into a module. пре 12 година
url.rs 3662f92224 Move application/x-www-form-urlencoded stuff into a module. пре 12 година
urltestdata.txt af590112c2 Fix tests. пре 12 година

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.