| Crates.io | humanize-url |
| lib.rs | humanize-url |
| version | 0.1.0 |
| created_at | 2021-03-07 13:21:25.63753+00 |
| updated_at | 2021-03-17 11:25:55.791013+00 |
| description | A library for displaying URLs in a human-friendly way |
| homepage | |
| repository | https://github.com/SirWindfield/url-rs |
| max_upload_size | |
| id | 365241 |
| size | 15,437 |
A library for creating human-readable URLs.
use humanize_url::humanize_url;
let url = humanize_url("https://github.com/SirWindfield").unwrap();
assert_eq!("github.com/SirWindfield", url);
I use the library often when working with links inside of terminals. Together with terminal-link it can be used to print prettier links to the terminal.