Registry / utility / urlparse

urlparse

JSON →
library0.7.3rscratesunverified

A URL parsing library similar to Python's urllib.parse, providing parsing and manipulation of URLs.

# Cargo.toml [dependencies] urlparse = "0.7.3"
INSTALL
IMPORT
SIG · URLPARSE
U
urlparse
utilityrustv0.7.3
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 urlparse::Url;

Parses a URL and prints its scheme.

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

No known issues recorded.

Upgrade
Version history
0.7.3latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
17 hits · last 30 days
node
14
Amazon
1
OpenAI (training)
1
Resources
urlparse — cargo add urlparse · libregistry