use-url
Small URL utility primitives for RustUse.
Experimental
use-url is experimental while the use-web workspace remains below 0.3.0. Expect small API adjustments during the first release wave.
Example
use ;
let parts = parse_url_basic.unwrap;
assert_eq!;
assert_eq!;
assert_eq!;
Scope
- Basic URL splitting for scheme, host, port, path, query, and fragment.
- Lightweight path and suffix helpers.
- Graceful handling for malformed or partial input.
Non-goals
- Full WHATWG URL parsing.
- DNS validation.
- HTTP client behavior.
- IDNA handling.
License
Licensed under either of the following, at your option:
- Apache License, Version 2.0
- MIT license