# servo/rust-url

URL parser for Rust

Repository: https://github.com/servo/rust-url
Canonical: https://ross.abutalabs.com/products/rust-url
Homepage: https://docs.rs/url/
Language: Rust
License: Apache-2.0
License Family: permissive
Last push: 2026-07-31T14:14:29+00:00

## Health v2 (maintenance only)
Score: 78/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 95, release rhythm 45, longevity 100
- inputs: {"age_days": 4655, "days_push": 33, "days_rel": 371, "gap_med": 15.5, "n_releases_24m": 5}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1573, forks 401 (observed 2026-08-28T04:05:05.619235+00:00)

## What it is
rust-url is the standard URL parsing and manipulation library for Rust, implementing the WHATWG URL Standard. It provides the `Url` type with parsing, component access, and serialization, including IDNA and percent-encoding support.

## Use cases
- parse and validate urls in rust
- extract scheme, host, path, and query from a url
- normalize urls according to the whatwg url standard
- handle internationalized domain names (idna)
- build or modify url query parameters safely
- resolve relative urls against a base url

## When to choose
- you need spec-compliant, battle-tested URL handling in Rust
- you are building an HTTP client, web crawler, or anything that consumes URLs
- you need IDNA/internationalized domain support

## When to avoid
- you only need simple string splitting on a trusted, well-formed URL
- you need a full browser-grade URL with history or navigation semantics

## Facets
- artifact type: library
- maturity: stable
- function: parser, serialization
- domain: web-development, parsers, developer-tools
- platform: rust, cross-platform, wasm
- tags: url-parsing, whatwg-url-standard, idna, percent-encoding, iri

## Member repositories
- servo/rust-url (main) score 78

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:05.619235+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:58:04.111082+00:00, confidence not recorded.
  - readme: https://github.com/servo/rust-url (fetched 2026-08-28T04:05:05.619235+00:00, sha 141354cfa79f)
  - homepage: https://docs.rs/url/ (fetched 2026-08-29T11:28:01.311008+00:00, sha 88d6528864e1)
  - site_page: https://docs.rs/ (fetched 2026-08-29T11:28:01.320496+00:00, sha db4d478189a9)
  - site_page: https://docs.rs/crate/url/latest (fetched 2026-08-29T11:28:01.322339+00:00, sha e3654a08075a)
  - site_page: https://docs.rs/crate/url/latest/features (fetched 2026-08-29T11:28:01.324056+00:00, sha 5bc2f43deacf)
  - site_page: https://docs.rs/about (fetched 2026-08-29T11:28:01.325543+00:00, sha 29ab7986fbf5)
  - site_page: https://docs.rs/about/badges (fetched 2026-08-29T11:28:01.327041+00:00, sha 6588cac258af)
  - site_page: https://docs.rs/about/builds (fetched 2026-08-29T11:28:01.328489+00:00, sha 811231ca4680)
  - site_page: https://docs.rs/about/metadata (fetched 2026-08-29T11:28:01.330079+00:00, sha 0dcdccb2b2b2)
  - site_page: https://docs.rs/about/redirections (fetched 2026-08-29T11:28:01.331758+00:00, sha 1b1efd93105f)
- Data as of 2026-08-30T08:39:29.467469+00:00.
