thumbor 0.1.6

A Rust client for the Thumbor image service
<div align="center">
    <img src="assets/doc/logo.svg" width="256">
    <h1>Rust <a href="https://www.thumbor.org">Thumbor</a> client</h1>
    <a href="https://github.com/SteelAlloy/thumbor-rs">
        <img
            alt="Repository"
            src="https://img.shields.io/badge/github-thumbor--rs-228b22?style=for-the-badge&labelColor=555555&logo=github"
            height="25"
    /></a>
    <a href="https://crates.io/crates/thumbor">
        <img
            alt="Crates.io Version"
            src="https://img.shields.io/crates/v/thumbor.svg?style=for-the-badge&color=e37602&logo=rust"
            height="25"
    /></a>
    <a href="https://docs.rs/thumbor/latest/thumbor">
        <img
            alt="docs.rs"
            src="https://img.shields.io/badge/docs.rs-thumbor-3b74d1?style=for-the-badge&labelColor=555555&logo=docs.rs"
            height="25"
    /></a>
    <a href="https://docs.rs/thumbor/latest/thumbor">
        <img
            alt="Crates.io MSRV"
            src="https://img.shields.io/crates/msrv/thumbor?style=for-the-badge&logo=docs.rs&color=b83fbf"
            height="25"
    /></a>
</div>

[Thumbor](https://www.thumbor.org) is a smart imaging service. It enables on-demand crop, resizing and flipping of images.
It features a very smart detection of important points in the image for better cropping and resizing,
using state-of-the-art face and feature detection algorithms

This library is a Rust client implementation of the Thumbor image service to generate image urls.

## Usage

```rust
use thumbor::Server;

let server = Server::new("http://localhost:8888", "my-security-key").unwrap();

let endpoint = server.endpoint_builder()
    .resize((300, 200))
    .smart(true)
    .build();

let url = endpoint.to_url("path/to/my/image.jpg");
```