thumbor 0.1.1

A Rust client for the Thumbor image service
# Thumbor for rust

[![Latest Version](https://img.shields.io/crates/v/thumbor.svg)](https://crates.io/crates/thumbor)
[![Rust Documentation](https://docs.rs/thumbor/badge.svg)](https://docs.rs/thumbor)
![Crates.io](https://img.shields.io/crates/l/thumbor)
![Crates.io](https://img.shields.io/crates/d/thumbor)

## Usage

In short :

```rust
use thumbor::Server;

let url = Server::new("http://localhost:8888", "my-security-key")
    .unwrap()
    .settings_builder()
    .resize((300, 200))
    .smart(true)
    .build()
    .to_url("path/to/my/image.jpg");
```

```rust
use thumbor::Server;

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

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

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