chore: expect clippy::large_enum_variant

This commit is contained in:
link2xt
2025-05-28 16:39:33 +00:00
committed by l
parent c7063c00f7
commit 42975b2ff3
3 changed files with 3 additions and 0 deletions

View File

@@ -24,6 +24,7 @@ use super::webxdc::WebxdcMessageInfo;
#[derive(Serialize, TypeDef, schemars::JsonSchema)]
#[serde(rename_all = "camelCase", tag = "kind")]
#[expect(clippy::large_enum_variant)]
pub enum MessageLoadResult {
Message(MessageObject),
LoadingError { error: String },

View File

@@ -44,6 +44,7 @@ use crate::webxdc::StatusUpdateSerial;
pub const RECOMMENDED_FILE_SIZE: u64 = 24 * 1024 * 1024 / 4 * 3;
#[derive(Debug, Clone)]
#[expect(clippy::large_enum_variant)]
pub enum Loaded {
Message {
chat: Chat,

View File

@@ -158,6 +158,7 @@ impl Socks5Config {
/// (except for iroh p2p connections)
/// will be sent.
#[derive(Debug, Clone, PartialEq, Eq)]
#[expect(clippy::large_enum_variant)]
pub enum ProxyConfig {
/// HTTP proxy.
Http(HttpConfig),