提示
hyperlane 框架使用 urlencoding 库,可以实现 url 编解码
hyperlane
urlencoding
url
let test_encode: std::borrow::Cow<'_, str> = urlencoding::encode("test");
let test_decode: Result<std::borrow::Cow<'_, str>, std::string::FromUtf8Error> = urlencoding::decode(&test_encode.into_owned());