urlshortener-rs
A very simple urlshortener for Rust.
This library aims to implement only URL shortener services which do not require any authentication (ex: goo.gl, bit.ly) and to provide an interface as minimal and simple as possible.
The reason for this is that users of such a library might only need to get the shortened URL, rather than a service using authentication. This is also a reason that this library aims to use as few dependencies as possible.
Implementations
Currently the following URL shorteners are implemented:
bn.gy
is.gd
readability.com
v.gd
The following services are supported, but are discouraged from use, due to restrictions such as rate limits:
psbe.co
rlu.ru
Usage
extern crate urlshortener;
use UrlShortener;
License
This project is licensed under the MIT license.