Expand description
§Thumbor
open-source smart on-demand image cropping, resizing and filters
This library is a Rust client implementation of the Thumbor image service to generate image urls.
§Usage
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");
Re-exports§
pub use endpoint::filter::Filter;
pub use endpoint::Endpoint;
pub use endpoint::EndpointBuilder;