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