shorten-url

Crates.ioshorten-url
lib.rsshorten-url
version1.0.0
sourcesrc
created_at2020-07-30 14:50:20.654894
updated_at2020-07-30 14:50:20.654894
descriptionomit parts of a url for friendlier display
homepage
repositoryhttps://github.com/goto-bus-stop/shorten-url-rs
max_upload_size
id271290
size22,524
Renée (goto-bus-stop)

documentation

https://docs.rs/shorten-url

README

shorten-url

omit parts of a URL for friendlier display

Rust port of shorten-url.

Installation

With cargo-edit do:

cargo add shorten-url

Or, in Cargo.toml:

[dependencies]
shorten-url = "1.0"

Test

To run tests:

cargo test

There is also a fuzz test using cargo-fuzz. Run it by doing:

cargo +nightly fuzz run basic

License

MIT OR Apache-2.0

Commit count: 17

cargo fmt