Registry / networking / url
library2.5.8rscratesunverified

URL library for Rust, based on the WHATWG URL Standard

# Cargo.toml [dependencies] url = "2.5.8"
INSTALL
IMPORT
SIG · URL
U
url
networkingrustv2.5.8
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Url
use url::Url;

Parses a URL and prints its scheme.

use url::Url; fn main() -> Result<(), url::ParseError> { let url = Url::parse("https://example.com/path?query=1")?; println!("Scheme: {}", url.scheme()); Ok(()) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.5.8latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
15 hits · last 30 days
node
12
Amazon
1
OpenAI (training)
1
Resources
url — cargo add url · libregistry