Skip to content
This repository has been archived by the owner on Jul 19, 2023. It is now read-only.

Commit

Permalink
Refactor main: Removed unused imports
Browse files Browse the repository at this point in the history
  • Loading branch information
lluiscab committed Aug 28, 2020
1 parent 5812ef2 commit 5e2f603
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,12 @@ use masterpower_api::inverter::Inverter;
use libc::{open, O_RDWR};
use log::{debug, error, info};
use mqtt_async_client::client::{Client as MQTTClient, KeepAlive, Publish as PublishOpts, QoS};
use serde_derive::Serialize;
use std::ffi::CString;
use std::os::unix::ffi::OsStrExt;
use std::os::unix::io::FromRawFd;
use std::path::Path;
use std::thread::sleep;
use std::time::{Instant, SystemTime, UNIX_EPOCH};
use std::time::{Instant};
use tokio::fs::File;
use tokio::time::Duration;

Expand Down

0 comments on commit 5e2f603

Please sign in to comment.