| Crates.io | clean_url |
| lib.rs | clean_url |
| version | 0.1.9 |
| created_at | 2020-09-30 20:22:44.144286+00 |
| updated_at | 2021-04-21 13:42:33.035479+00 |
| description | This crate takes a URL, formats it correctly, and returns the version of the URL that returns a 200 series response. |
| homepage | https://crates.io/crates/clean_url |
| repository | https://github.com/jaredforth/clean_url |
| max_upload_size | |
| id | 294744 |
| size | 28,769 |
This crate takes a URL, formats it correctly, and returns the version of the URL that returns a 200 series response.
Documentation:
Add this to your Cargo.toml:
[dependencies]
clean_url = "0.1"
async fn main() {
let url = return_url(String::from("example.com")).await;
assert_eq(Some("http://example.com"), url);
}
clean_url is distributed under the terms of both the MIT license and the Apache License (Version 2.0).
See LICENSE-APACHE and LICENSE-MIT, and COPYRIGHT for details.