#parse-url #parser #whatwg #standard

no-std url

URL library for Rust, based on the WHATWG URL Standard

83 releases (32 stable)

2.5.3 Nov 4, 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 2160013/week @ 2024-08-01 2354672/week @ 2024-08-08 2140067/week @ 2024-08-15 2224735/week @ 2024-08-22 2085649/week @ 2024-08-29 2350444/week @ 2024-09-05 2125864/week @ 2024-09-12 2253085/week @ 2024-09-19 2407409/week @ 2024-09-26 2785763/week @ 2024-10-03 2719901/week @ 2024-10-10 3014972/week @ 2024-10-17 2350162/week @ 2024-10-24 2330623/week @ 2024-10-31 2449601/week @ 2024-11-07 2138228/week @ 2024-11-14

9,710,520 downloads per month
Used in 29,700 crates (6,561 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.8MB
~50K SLoC