From 6198f327d77236d23ff7c8950146194eaa5866f3 Mon Sep 17 00:00:00 2001 From: Sebastian Kuzminsky Date: Tue, 21 Jan 2025 14:26:13 -0600 Subject: [PATCH] fix some warnings --- tools/src/bin/parser/main.rs | 1 - tools/src/recipe.rs | 1 + tools/src/repo.rs | 1 - 3 files changed, 1 insertion(+), 2 deletions(-) diff --git a/tools/src/bin/parser/main.rs b/tools/src/bin/parser/main.rs index 8018c0e..e8c30ca 100644 --- a/tools/src/bin/parser/main.rs +++ b/tools/src/bin/parser/main.rs @@ -1,6 +1,5 @@ use clap::Parser; -use tools::Recipe; use tools::Repo; #[derive(Debug, clap::Parser)] diff --git a/tools/src/recipe.rs b/tools/src/recipe.rs index 8f9c0df..c05bce1 100644 --- a/tools/src/recipe.rs +++ b/tools/src/recipe.rs @@ -68,6 +68,7 @@ pub struct Purchase { } #[derive(Debug, serde::Deserialize)] +#[allow(non_camel_case_types)] pub enum Action { process(String), print, diff --git a/tools/src/repo.rs b/tools/src/repo.rs index 0931a49..85eef4c 100644 --- a/tools/src/repo.rs +++ b/tools/src/repo.rs @@ -1,5 +1,4 @@ use crate::recipe::Recipe; -use std::fmt; #[derive(Debug)] pub struct Repo {