mirror of
https://git.asonix.dog/asonix/pict-rs
synced 2024-12-22 19:31:35 +00:00
14 lines
404 B
Rust
14 lines
404 B
Rust
|
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,
|
||
|
}
|