This commit is contained in:
houseme
2025-06-09 10:18:43 +08:00
parent 9495df6d5e
commit f798bb0fce
2 changed files with 0 additions and 4 deletions

View File

@@ -80,7 +80,6 @@ const-str = { version = "0.6.2", features = ["std", "proc"] }
crc32fast = "1.4.2"
datafusion = "46.0.1"
derive_builder = "0.20.2"
dotenvy = "0.15.7"
dioxus = { version = "0.6.3", features = ["router"] }
dirs = "6.0.0"
dotenvy = "0.15.7"

View File

@@ -7,7 +7,6 @@ pub struct WebhookArgs {
pub endpoint: String,
pub auth_token: String,
#[serde(skip)]
pub transport: Option<()>, // Placeholder for *http.Transport
pub queue_dir: String,
pub queue_limit: u64,
pub client_cert: String,
@@ -21,7 +20,6 @@ impl WebhookArgs {
enable: false,
endpoint: "".to_string(),
auth_token: "".to_string(),
transport: None,
queue_dir: "".to_string(),
queue_limit: 0,
client_cert: "".to_string(),
@@ -62,7 +60,6 @@ mod tests {
let args = WebhookArgs::new();
assert_eq!(args.endpoint, "");
assert_eq!(args.auth_token, "");
assert!(args.transport.is_none());
assert_eq!(args.queue_dir, "");
assert_eq!(args.queue_limit, 0);
assert_eq!(args.client_cert, "");