mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-16 06:42:14 +00:00
This is a fresh start for the `artcraft` repo. The old monorepo, which included our web API gateway, job services, SRE tools, various frontends, and more has moved to `artcraft-services` You can find the full git history here: https://github.com/storytold/artcraft-services This change was motivated by the fact that the entire git history was hundreds of gigabytes in size, which is unwieldy for anyone not in the core team that doesn't care about support services outside of the core artcraft app. We wanted to keep this repo in its well-known place since we already have users and activity here. Please update your remotes to either `artcraft-services` or make a fresh clone of this repo. History can be found at the artcraft-services repo.
33 lines
816 B
Rust
33 lines
816 B
Rust
//! images
|
|
//!
|
|
//! Even though the "image" library is the most widely used crate, if we declare a dependency here
|
|
//! we can update every downstream caller in unison. This will also let us collect common algorithms
|
|
//! and functions.
|
|
//!
|
|
|
|
// Never allow these
|
|
#![forbid(private_bounds)]
|
|
#![forbid(private_interfaces)]
|
|
#![forbid(unused_must_use)] // NB: It's unsafe to not close/check some things
|
|
|
|
// Okay to toggle
|
|
#![forbid(unreachable_patterns)]
|
|
#![forbid(unused_imports)]
|
|
#![forbid(unused_mut)]
|
|
#![forbid(unused_variables)]
|
|
|
|
// Always allow
|
|
#![allow(dead_code)]
|
|
#![allow(non_snake_case)]
|
|
|
|
// Re-export image to everyone importing this library
|
|
pub use image;
|
|
|
|
pub mod encoding;
|
|
pub mod error;
|
|
pub mod image_info;
|
|
pub mod mask_images;
|
|
pub mod resize_image_file_preserving_aspect;
|
|
pub mod resize_preserving_aspect;
|
|
|