1 stable release
1.0.0 | Jul 30, 2020 |
---|
#282 in Value formatting
9KB
147 lines
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
lib.rs
:
Omit parts of a URL for friendlier display.
This is a Rust port of shorten-url.
See the shorten documentation for usage info.