fix: remove unused imports and add #[allow(dead_code)] to fix clippy -D warnings
Action Gateway CI/CD / Build & Test (push) Failing after 1m49s
Action Gateway CI/CD / Publish Release (push) Has been skipped

This commit is contained in:
2026-03-09 19:55:02 -07:00
parent 216f0f0299
commit 94a4398e66
3 changed files with 6 additions and 0 deletions
+1
View File
@@ -3,6 +3,7 @@ use std::fs;
#[allow(dead_code)]
#[derive(Debug, Deserialize, Clone)]
#[allow(dead_code)]
pub struct Config {
pub database_path: String,
pub bind: String,
+1
View File
@@ -3,6 +3,7 @@ mod db;
mod models;
mod routes;
use std::sync::{Arc, Mutex};
use rusqlite::Connection;
use config::Config;
+4
View File
@@ -1,6 +1,7 @@
use serde::{Deserialize, Serialize};
#[derive(Debug, Serialize, Deserialize, Clone)]
#[allow(dead_code)]
pub struct Action {
pub id: String,
pub chain_id: Option<String>,
@@ -16,6 +17,7 @@ pub struct Action {
}
#[derive(Debug, Deserialize)]
#[allow(dead_code)]
pub struct SubmitAction {
pub description: String,
pub command: String,
@@ -27,6 +29,7 @@ pub struct SubmitAction {
#[allow(dead_code)]
#[derive(Debug, Serialize)]
#[allow(dead_code)]
pub struct ActionResult {
pub id: String,
pub status: String,
@@ -34,6 +37,7 @@ pub struct ActionResult {
}
#[derive(Debug, Deserialize)]
#[allow(dead_code)]
pub struct LoginForm {
pub username: String,
pub password: String,