humanize-url

Crates.iohumanize-url
lib.rshumanize-url
version0.1.0
sourcesrc
created_at2021-03-07 13:21:25.63753
updated_at2021-03-17 11:25:55.791013
descriptionA library for displaying URLs in a human-friendly way
homepage
repositoryhttps://github.com/SirWindfield/url-rs
max_upload_size
id365241
size15,437
mainrs (mainrs)

documentation

README

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.

Commit count: 12

cargo fmt