Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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/

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