thumbor 0.1.1

A Rust client for the Thumbor image service
docs.rs failed to build thumbor-0.1.1
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build: thumbor-0.1.11

Thumbor for rust

Latest Version Rust Documentation Crates.io Crates.io

Usage

In short :

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");
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");