#url

no-std nourl

A simple Url primitive for no_std environments

7 releases

0.2.0 Oct 15, 2026
0.1.5 Jul 9, 2026
0.1.4 Mar 28, 2025
0.1.2 Feb 12, 2025
0.1.1 Jan 30, 2023

#1125 in Embedded development

Download history 2420/week @ 2026-08-09 1883/week @ 2026-08-16 2247/week @ 2026-08-23 4465/week @ 2026-08-30 4838/week @ 2026-09-06 1936/week @ 2026-09-13 2867/week @ 2026-09-20 2383/week @ 2026-09-27 4828/week @ 2026-10-04 3431/week @ 2026-10-11 3486/week @ 2026-10-18 2730/week @ 2026-10-25 3081/week @ 2026-11-01 17168/week @ 2026-11-08 32619/week @ 2026-11-15 26040/week @ 2026-11-22

79,087 downloads per month
Used in 13 crates (via reqwless)

MIT/Apache

20KB
424 lines

A simple Url primitive

CI crates.io

This crate provides a simple Url type that can be used in embedded no_std environments.

If you are missing a feature or would like to add a new scheme, please raise an issue or a PR.

The crate runs on stable rust.

Example

let url = Url::parse("http://localhost/foo/bar").unwrap();
assert_eq!(url.scheme(), UrlScheme::HTTP);
assert_eq!(url.host(), "localhost");
assert_eq!(url.port_or_default(), 80);
assert_eq!(url.path(), "/foo/bar");

The implementation is heavily inspired (close to copy/paste) from the Url type in reqwless.

Dependencies

~170KB