comply with upstream rust-url