fix: cargo fix
This commit is contained in:
parent
2e6946a141
commit
6213e8c853
@ -1,12 +1,12 @@
|
||||
use std::io::{Seek, Write};
|
||||
use std::mem::{self, offset_of};
|
||||
use std::io::Write;
|
||||
use std::mem::{self};
|
||||
|
||||
use crate::app_error::AppError;
|
||||
use crate::pe_parse::header::{ImageOptionalHeader, ImageSectionHeader, SectionCharacteristics};
|
||||
use crate::pe_parse::header::{ImageSectionHeader, SectionCharacteristics};
|
||||
use crate::pe_parse::pe::MutablePE;
|
||||
use crate::services::file::expand_file_size;
|
||||
use crate::{pe_parse::pe::ReadOnlyPE, services::file};
|
||||
use memmap2::{Mmap, MmapOptions};
|
||||
use memmap2::Mmap;
|
||||
|
||||
/// 应用的状态结构体
|
||||
#[derive(Default)]
|
||||
|
@ -1,18 +1,10 @@
|
||||
use std::{
|
||||
io::{Seek, Write},
|
||||
sync::Mutex,
|
||||
};
|
||||
use std::sync::Mutex;
|
||||
|
||||
use crate::{
|
||||
app_error::AppError,
|
||||
app_state::AppState,
|
||||
pe_parse::{
|
||||
error::MutablePEError,
|
||||
pe::{MutablePE, ReadOnlyPE},
|
||||
},
|
||||
services::file::mmap_file_rw,
|
||||
pe_parse::pe::{MutablePE, ReadOnlyPE},
|
||||
};
|
||||
use memmap2::MmapOptions;
|
||||
use serde::Serialize;
|
||||
use serde_json::{json, Value};
|
||||
use tauri::{AppHandle, Manager, State};
|
||||
|
Loading…
Reference in New Issue
Block a user