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: 7 months ago
JSON representation

Shorten a URL using http://is.gd/

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