From: Greg Burri Date: Sat, 30 Sep 2023 10:15:11 +0000 (+0200) Subject: Remove unused 'use'. X-Git-Url: http://git.euphorik.ch/index.cgi?a=commitdiff_plain;h=a98ad1b7b21ff82a01fd27b73ad4e9095a714bb2;p=stakingWatchdog.git Remove unused 'use'. --- 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;