URL parser for Rust
docs.rs/url/

Simon Sapin 9ae1fd2fc3 Make rust-encoding an optional feature. há 12 anos atrás
src 9ae1fd2fc3 Make rust-encoding an optional feature. há 12 anos atrás
.gitignore 6318279688 Use the new and shiny 'cargo doc' há 12 anos atrás
.travis.yml 9ae1fd2fc3 Make rust-encoding an optional feature. há 12 anos atrás
Cargo.toml 9ae1fd2fc3 Make rust-encoding an optional feature. há 12 anos atrás
LICENSE-APACHE 0339bc2d9a Start with an empty crate. há 13 anos atrás
LICENSE-MIT 0339bc2d9a Start with an empty crate. há 13 anos atrás
README.md a8d7862e1e fix typo há 12 anos atrás
github.png 6318279688 Use the new and shiny 'cargo doc' há 12 anos atrás
make_encode_sets.py e18f7e460c Make implementation details of percent-encoding encode sets private. há 12 anos atrás

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.