omit parts of a URL for friendlier display
APACHE-2.0 License
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