url-decompose 0.1.1

Decompose an url into parts
Documentation
1
2
3
4
5
6
use crate::Url;
#[test]
fn url_scheme() {
    let url = Url::new("https://a").unwrap();
    assert_eq!(url.scheme().unwrap(), "https");
}