An URL parser implemented in rust