Crates.io | shorten-url |
lib.rs | shorten-url |
version | 1.0.0 |
source | src |
created_at | 2020-07-30 14:50:20.654894 |
updated_at | 2020-07-30 14:50:20.654894 |
description | omit parts of a url for friendlier display |
homepage | |
repository | https://github.com/goto-bus-stop/shorten-url-rs |
max_upload_size | |
id | 271290 |
size | 22,524 |
omit parts of a URL for friendlier display
Rust port of shorten-url.
With cargo-edit
do:
cargo add shorten-url
Or, in Cargo.toml
:
[dependencies]
shorten-url = "1.0"
To run tests:
cargo test
There is also a fuzz test using cargo-fuzz
. Run it by doing:
cargo +nightly fuzz run basic
MIT OR Apache-2.0