URL parser for Rust
docs.rs/url/

Simon Sapin 1805b2f26f Add an Url::from_file_path() static method. 12 سال پیش
src 1805b2f26f Add an Url::from_file_path() static method. 12 سال پیش
.gitignore c63b03a779 Switch to Cargo. 12 سال پیش
Cargo.toml 589e7d6221 Upgrade to rustc 459ffc2adc74f5e8b64a76f5670edb419b9f65da 2014-07-17 12 سال پیش
LICENSE-APACHE 0339bc2d9a Start with an empty crate. 13 سال پیش
LICENSE-MIT 0339bc2d9a Start with an empty crate. 13 سال پیش
README.md 82873eeee5 README wrangling. 12 سال پیش
make_encode_sets.py da7f23905b Refactor some repeating/redundant code. 12 سال پیش

README.md

rust-url

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 buils with Cargo, pulling in rust-encoding as a depedency.

To do

Not necessarily in the given order:

  • Land it in rust-http and Servo.
  • Write documentation
  • Set up continuous integration and documentation hosting
  • 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.