Organizing imports
parent
c653bad935
commit
c4a289bb59
16
src/app.rs
16
src/app.rs
|
@ -1,21 +1,19 @@
|
|||
use std::time::{Duration, Instant};
|
||||
|
||||
use color_eyre::{eyre::eyre, owo_colors::OwoColorize, Result};
|
||||
use gilrs::{Gamepad, Gilrs};
|
||||
use color_eyre::{owo_colors::OwoColorize, Result};
|
||||
use ratatui::{
|
||||
buffer::Buffer,
|
||||
crossterm::event::{self, Event, KeyCode, KeyEventKind},
|
||||
layout::{Alignment, Constraint, Flex, Layout, Rect},
|
||||
style::{palette::tailwind, Color, Style, Stylize},
|
||||
crossterm::event::{self, KeyCode, KeyEventKind},
|
||||
layout::{Constraint, Layout, Rect},
|
||||
style::{Color, Style, Stylize},
|
||||
symbols::Marker,
|
||||
widgets::{
|
||||
block::Position,
|
||||
canvas::{Canvas, Circle, Rectangle, Shape},
|
||||
Block, BorderType, Gauge, Padding, Paragraph, Widget,
|
||||
canvas::{Canvas, Rectangle, Shape},
|
||||
Block, BorderType, Widget,
|
||||
},
|
||||
DefaultTerminal,
|
||||
};
|
||||
use Constraint::{Fill, Length, Min, Percentage};
|
||||
use Constraint::{Fill, Length, Percentage};
|
||||
|
||||
use crate::gamepad_manager::GamepadManager;
|
||||
|
||||
|
|
10
src/main.rs
10
src/main.rs
|
@ -1,11 +1,7 @@
|
|||
use std::{
|
||||
fs::{File, OpenOptions},
|
||||
thread,
|
||||
time::Duration,
|
||||
};
|
||||
use std::fs::OpenOptions;
|
||||
|
||||
use app::{App, AppState};
|
||||
use color_eyre::{eyre::eyre, Result};
|
||||
use app::App;
|
||||
use color_eyre::Result;
|
||||
use gamepad_manager::GamepadManager;
|
||||
use tracing_subscriber::{layer::SubscriberExt, Layer};
|
||||
|
||||
|
|
Loading…
Reference in New Issue