URL parser for Rust
docs.rs/url/

Simon Sapin 64b2bc3552 Publish on crates.io 12 年之前
src cec3c32168 Upgrade to rustc 63c4f22f2 2014-11-05. 12 年之前
.gitignore 6318279688 Use the new and shiny 'cargo doc' 12 年之前
.travis.yml 2af8160a2b Renew the github token and don’t leak it in Travis logs. 12 年之前
Cargo.toml 64b2bc3552 Publish on crates.io 12 年之前
LICENSE-APACHE 0339bc2d9a Start with an empty crate. 13 年之前
LICENSE-MIT 0339bc2d9a Start with an empty crate. 13 年之前
README.md 834ab85f22 README: fix typo 12 年之前
github.png 6318279688 Use the new and shiny 'cargo doc' 12 年之前
make_encode_sets.py e18f7e460c Make implementation details of percent-encoding encode sets private. 12 年之前

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

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.