# url (Rust)

> URL library for Rust, based on the WHATWG URL Standard

Source: https://talira.ai/catalog/url-rust-z66p8zbs
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [developer tools / parsing / urls](https://talira.ai/categories/developer-tools/parsing/urls)
- Licence: MIT OR Apache-2.0[^1][^2][^3]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Backed by: [The rust-url developers](https://talira.ai/orgs/rust-url-developers.md)

rust-url is the URL library most Rust code uses: the `url` crate parses, builds and serialises URLs following the WHATWG URL Standard, the same rules browsers apply, with internationalised domain names handled by its `idna` crate (ICU4X by default). The repository also publishes `percent-encoding`, `form_urlencoded` (for application/x-www-form-urlencoded data) and `data-url` (for data: URLs). It supports no_std.

## Links

- GitHub: https://github.com/servo/rust-url
- Docs: https://docs.rs/url

## Problems it solves

- parse a URL in Rust the same way a browser would
- join a relative link onto a base URL correctly in my Rust crawler
- percent-encode query parameters in Rust

## Features

- parse and build URLs by the WHATWG URL Standard
- internationalised domain names through the idna crate
- percent-encoding and form-urlencoded crates
- data: URL parsing
- no_std support

## Trust

Overall: 0.53 out of 1.
Signals: maintenance 0.65, adoption 0.64, momentum 0.32, community 0.93, backing 0.30, extensibility 0.00.

- last commit 9 days ago
- 8 commits in the last 90 days
- latest release v2.5.7 15 months ago
- 1.6k GitHub stars
- 208 contributors
- accepts sponsorship (Github, Open Collective)
- backed by The rust-url developers

## Sources

[^1]: https://github.com/servo/rust-url/blob/main/LICENSE-MIT (checked 27 Nov 2026)
[^2]: https://github.com/servo/rust-url/blob/main/url/Cargo.toml (checked 27 Nov 2026)
[^3]: https://github.com/servo/rust-url/blob/main/LICENSE-APACHE (checked 27 Nov 2026)
