Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/younisshah/varys
Shorten a URL using http://is.gd/
https://github.com/younisshah/varys
reqwest rust-lang url-shortener
Last synced: 6 days ago
JSON representation
Shorten a URL using http://is.gd/
- Host: GitHub
- URL: https://github.com/younisshah/varys
- Owner: younisshah
- Created: 2017-08-22T09:31:01.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-08-22T09:37:13.000Z (over 7 years ago)
- Last Synced: 2024-12-29T01:51:55.305Z (28 days ago)
- Topics: reqwest, rust-lang, url-shortener
- Language: Rust
- Size: 1000 Bytes
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# varys
A simple `crate` to shorten URLs using http://is.gd/.
## Installation
In your `Cargo.toml` file add under `[dependencies]` section
```ini
[dependencies]
varys = "0.1.0"
```## Shorten a URI
```rust
let shortened_url: String = varys::shorten("https://www.rust-lang.org/");
```## Tests
There are no tests.
## License
MIT