mirror of
https://github.com/openharmony/third_party_rust_rust-url.git
synced 2026-07-21 01:45:27 -04:00
529fed3dcafe6616e02590129572e8269440f26a
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.
Description
Languages
Rust
99.4%
Python
0.6%