Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/goto-bus-stop/shorten-url-rs
omit parts of a URL for friendlier display
https://github.com/goto-bus-stop/shorten-url-rs
Last synced: 27 days ago
JSON representation
omit parts of a URL for friendlier display
- Host: GitHub
- URL: https://github.com/goto-bus-stop/shorten-url-rs
- Owner: goto-bus-stop
- License: apache-2.0
- Created: 2020-07-29T13:36:45.000Z (over 4 years ago)
- Default Branch: default
- Last Pushed: 2024-07-21T13:09:40.000Z (4 months ago)
- Last Synced: 2024-10-05T16:26:01.389Z (about 1 month ago)
- Language: Rust
- Homepage: https://docs.rs/shorten-url
- Size: 27.3 KB
- Stars: 6
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE-APACHE
Awesome Lists containing this project
README
# shorten-url
omit parts of a URL for friendlier displayRust port of [shorten-url](https://github.com/goto-bus-stop/shorten-url).
## Installation
With `cargo-edit` do:
```
cargo add shorten-url
```Or, in `Cargo.toml`:
```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](./LICENSE-MIT) OR [Apache-2.0](./LICENSE-APACHE)