From a98ad1b7b21ff82a01fd27b73ad4e9095a714bb2 Mon Sep 17 00:00:00 2001 From: Greg Burri Date: Sat, 30 Sep 2023 12:15:11 +0200 Subject: [PATCH] Remove unused 'use'. --- src/config.rs | 2 +- src/main.rs | 8 +------- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/src/config.rs b/src/config.rs index fd6d2bf..187aaca 100644 --- a/src/config.rs +++ b/src/config.rs @@ -1,4 +1,4 @@ -use std::{fs::File, time}; +use std::fs::File; use anyhow::Result; use ron::{ diff --git a/src/main.rs b/src/main.rs index b58f7b3..84dd95c 100644 --- a/src/main.rs +++ b/src/main.rs @@ -2,23 +2,17 @@ * API Reference: https://ethereum.github.io/beacon-APIs/ */ -#![cfg_attr(debug_assertions, allow(unused_variables, unused_imports, dead_code))] - use std::{ - fs, - net::{IpAddr, Ipv4Addr}, thread, time::{self, Duration}, }; -use anyhow::{Context, Result}; +use anyhow::Result; use lettre::{ message::header::ContentType, transport::smtp::authentication::Credentials, Message, SmtpTransport, Transport, }; -use reqwest::StatusCode; use serde::Deserialize; -use serde_json::{json, Value}; use crate::config::Config; -- 2.45.2