#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.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 2142884/week @ 2024-07-18 2153721/week @ 2024-07-25 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 2350448/week @ 2024-10-24 2330728/week @ 2024-10-31

10,908,702 downloads per month
Used in 29,395 crates (6,514 directly)

MIT/Apache

365KB
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