2 unstable releases
0.1.0 | Mar 17, 2021 |
---|---|
0.0.0 | Mar 7, 2021 |
#9 in #humanize
16KB
191 lines
humanize-url
A library for creating human-readable URLs.
Example
use humanize_url::humanize_url;
let url = humanize_url("https://github.com/SirWindfield").unwrap();
assert_eq!("github.com/SirWindfield", url);
Use-case
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.
Dependencies
~2–3MB
~56K SLoC