Skip to content

1yesman9/Uri

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

WIP Uri parser & builder

let uri = lib::parse("https://yesman@www.youtube.com:80/?v=12345678#tag").unwrap();

println!("{:?}", uri.scheme()); // "https"
println!("{:?}", uri.host()); // RegName("www.youtube.com")
println!("{:?}", uri.user_info()); // Some("yesman")
println!("{:?}", uri.domain()); // Some("www.youtube.com")
println!("{:?}", uri.port()); // Some(80)
println!("{:?}", uri.query()); // Some("v=12345678")
println!("{:?}", uri.fragment()); // Some("tag")

About

Rust Uri parser and builder WIP w/ nom.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages