#url

no-std nourl

A simple Url primitive for no_std environments

6 releases

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

#1083 in Embedded development

Download history 1429/week @ 2026-04-14 1671/week @ 2026-04-21 1674/week @ 2026-04-28 1755/week @ 2026-05-05 1684/week @ 2026-05-12 1599/week @ 2026-05-19 1697/week @ 2026-05-26 1803/week @ 2026-06-02 1860/week @ 2026-06-09 1832/week @ 2026-06-16 1828/week @ 2026-06-23 1248/week @ 2026-06-30 2128/week @ 2026-07-07 2095/week @ 2026-07-14 2368/week @ 2026-07-21 3624/week @ 2026-07-28

10,437 downloads per month
Used in 12 crates (via reqwless)

MIT/Apache

19KB
401 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

~250KB