From 880dfc20eee39d178de27adc7ae996197a18fa86 Mon Sep 17 00:00:00 2001 From: asonix Date: Sat, 3 Feb 2024 18:20:17 -0600 Subject: [PATCH] Remove unneeded struct, import --- src/config.rs | 4 ++-- src/formats.rs | 7 ------- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/src/config.rs b/src/config.rs index d5ec99d..dea312a 100644 --- a/src/config.rs +++ b/src/config.rs @@ -12,8 +12,8 @@ use defaults::Defaults; pub(crate) use commandline::Operation; pub(crate) use file::{ - Animation, ConfigFile as Configuration, Image, Media, ObjectStorage, OpenTelemetry, Postgres, - Repo, Sled, Store, Tracing, Video, + Animation, ConfigFile as Configuration, Media, ObjectStorage, OpenTelemetry, Postgres, Repo, + Sled, Store, Tracing, Video, }; pub(crate) use primitives::{Filesystem, LogFormat}; diff --git a/src/formats.rs b/src/formats.rs index 076a600..3759e8b 100644 --- a/src/formats.rs +++ b/src/formats.rs @@ -12,13 +12,6 @@ pub(crate) use video::{ OutputVideo, VideoCodec, WebmAlphaCodec, WebmAudioCodec, WebmCodec, }; -#[derive(Clone, Debug)] -pub(crate) struct Validations<'a> { - pub(crate) image: &'a crate::config::Image, - pub(crate) animation: &'a crate::config::Animation, - pub(crate) video: &'a crate::config::Video, -} - #[derive(Clone, Debug, PartialEq, Eq)] pub(crate) enum InputFile { Image(ImageInput),