remove unused Clone derives

This commit is contained in:
Charles Hall 2024-06-07 13:53:16 -07:00
parent 0643a3f081
commit b34e001997
No known key found for this signature in database
GPG key ID: 7B8E0645816E07CF

View file

@ -14,7 +14,7 @@ mod proxy;
use proxy::ProxyConfig; use proxy::ProxyConfig;
#[allow(clippy::struct_excessive_bools)] #[allow(clippy::struct_excessive_bools)]
#[derive(Clone, Debug, Deserialize)] #[derive(Debug, Deserialize)]
pub(crate) struct Config { pub(crate) struct Config {
#[serde(default = "false_fn")] #[serde(default = "false_fn")]
pub(crate) conduit_compat: bool, pub(crate) conduit_compat: bool,
@ -89,7 +89,7 @@ pub(crate) struct Config {
pub(crate) catchall: BTreeMap<String, IgnoredAny>, pub(crate) catchall: BTreeMap<String, IgnoredAny>,
} }
#[derive(Clone, Debug, Deserialize)] #[derive(Debug, Deserialize)]
pub(crate) struct TlsConfig { pub(crate) struct TlsConfig {
pub(crate) certs: String, pub(crate) certs: String,
pub(crate) key: String, pub(crate) key: String,