#url #shorten #gd

varys

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

1 unstable release

Uses old Rust 2015

0.1.0 Aug 22, 2017

#6 in #gd

MIT license

3KB

varys

A simple crate to shorten URLs using http://is.gd/.

Installation

In your Cargo.toml file add under [dependencies] section

[dependencies]
varys = "0.1.0"

Shorten a URI

let shortened_url: String = varys::shorten("https://www.rust-lang.org/");

Tests

There are no tests.

License

MIT

Dependencies

~11–20MB
~296K SLoC