URL parser for Rust
docs.rs/url/

Simon Sapin c3d32dae4c Merge pull request #47 from CraZySacX/master před 12 roky
src 0f378a1501 Update for changes to rust-encoding před 12 roky
.gitignore 6318279688 Use the new and shiny 'cargo doc' před 12 roky
.travis.yml 2af8160a2b Renew the github token and don’t leak it in Travis logs. před 12 roky
Cargo.toml 092c4e6503 Rename the crate to "url". před 12 roky
LICENSE-APACHE 0339bc2d9a Start with an empty crate. před 13 roky
LICENSE-MIT 0339bc2d9a Start with an empty crate. před 13 roky
README.md a8d7862e1e fix typo před 12 roky
github.png 6318279688 Use the new and shiny 'cargo doc' před 12 roky
make_encode_sets.py e18f7e460c Make implementation details of percent-encoding encode sets private. před 12 roky

README.md

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

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.