#url #environment

no-std nourl

A simple Url primitive for no_std environments

5 releases

0.1.4 Mar 28, 2025
0.1.3 Mar 28, 2025
0.1.2 Feb 12, 2025
0.1.1 Jan 30, 2023
0.1.0 Jan 30, 2023

#1510 in Embedded development

Download history 1891/week @ 2026-02-23 2940/week @ 2026-03-02 1358/week @ 2026-03-09 1590/week @ 2026-03-16 1755/week @ 2026-03-23 1427/week @ 2026-03-30 1410/week @ 2026-04-06 1646/week @ 2026-04-13 1682/week @ 2026-04-20 1582/week @ 2026-04-27 1559/week @ 2026-05-04 1922/week @ 2026-05-11 1683/week @ 2026-05-18 1657/week @ 2026-05-25 1717/week @ 2026-06-01 1791/week @ 2026-06-08

7,051 downloads per month
Used in 9 crates (via reqwless)

MIT/Apache

18KB
378 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

~125KB