#parse-url #parser #whatwg #standard

no-std url

URL library for Rust, based on the WHATWG URL Standard

83 releases (32 stable)

new 2.5.4 Nov 22, 2024
2.5.2 Jun 18, 2024
2.5.0 Nov 22, 2023
2.4.0 Jun 5, 2023
0.2.1 Nov 24, 2014

#4 in Parser implementations

Download history 2194516/week @ 2024-08-04 2268402/week @ 2024-08-11 2190673/week @ 2024-08-18 2226525/week @ 2024-08-25 2208355/week @ 2024-09-01 2213953/week @ 2024-09-08 2063620/week @ 2024-09-15 2335833/week @ 2024-09-22 2491299/week @ 2024-09-29 2913167/week @ 2024-10-06 2905347/week @ 2024-10-13 2687475/week @ 2024-10-20 2253610/week @ 2024-10-27 2463942/week @ 2024-11-03 2521848/week @ 2024-11-10 2380651/week @ 2024-11-17

9,783,455 downloads per month
Used in 29,757 crates (6,569 directly)

MIT/Apache

360KB
6K SLoC

rust-url

Build status Coverage Chat License: MIT License: Apache 2.0

URL library for Rust, based on the URL Standard.

Documentation

Please see UPGRADING.md if you are upgrading from a previous version.

Alternative Unicode back ends

url depends on the idna crate. By default, idna uses ICU4X as its Unicode back end. If you wish to opt for different tradeoffs between correctness, run-time performance, binary size, compile time, and MSRV, please see the README of the latest version of the idna_adapter crate for how to opt into a different Unicode back end.

Dependencies

~1.8–2.7MB
~49K SLoC