Apply cargo fixes

This commit is contained in:
Julian Mutter 2024-02-02 23:08:44 +01:00
parent 7e012e0ef0
commit 015247b284
5 changed files with 6 additions and 12 deletions

View File

@ -33,7 +33,7 @@ impl Database {
Ok(connection)
}
pub async fn insert_sheet(&self, sheet: Sheet) -> sqlx::Result<()> {
pub async fn _insert_sheet(&self, sheet: Sheet) -> sqlx::Result<()> {
sqlx::query(
"
INSERT INTO sheets (name, path, file_size, file_hash)

View File

@ -1 +0,0 @@

View File

@ -1,7 +1,7 @@
use std::path::PathBuf;
use gtk::prelude::*;
use relm4::{component::Connector, prelude::*};
use relm4::{prelude::*};
use crate::{
ui::{mcdu::McduOutput, sheet_model::SheetModelType},

View File

@ -1,13 +1,8 @@
use std::path::PathBuf;
use gtk::prelude::*;
use log::debug;
use relm4::factory::FactoryVecDeque;
use relm4::{
gtk, Component, ComponentController, ComponentParts, ComponentSender, SimpleComponent,
};
use relm4::{prelude::*, RelmListBoxExt};
use walkdir::WalkDir;
use relm4::RelmListBoxExt;
use relm4::{gtk, ComponentParts, ComponentSender, SimpleComponent};
use super::sheet_model::{OnQueryUpdate, SheetModel, SheetModelType};

View File

@ -1,4 +1,4 @@
use std::path::{Path, PathBuf};
use std::path::PathBuf;
use gtk::prelude::*;
use relm4::prelude::*;