pict-rs 0.5.16

A simple image hosting service
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use reqwest_middleware::ClientWithMiddleware;

use crate::{config::Configuration, magick::ArcPolicyDir, repo::ArcRepo, tmp_file::ArcTmpDir};

#[derive(Clone)]
pub(crate) struct State<S> {
    pub(super) config: Configuration,
    pub(super) tmp_dir: ArcTmpDir,
    pub(super) policy_dir: ArcPolicyDir,
    pub(super) repo: ArcRepo,
    pub(super) store: S,
    pub(super) client: ClientWithMiddleware,
}