some other cleanup
This commit is contained in:
+5
-2
@@ -2,11 +2,14 @@
|
||||
name = "haxor"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
description = "memory hacking library"
|
||||
repository = "https://codeberg.org/futile/haxor"
|
||||
license = "Apache-2.0"
|
||||
keywords = ["memory", "game", "hacking", "process"]
|
||||
|
||||
[dependencies]
|
||||
derive_more = { version = "1.0.0", features = ["display"] }
|
||||
thiserror = "2.0.9"
|
||||
windows-core = "0.58.0"
|
||||
|
||||
[dependencies.windows]
|
||||
version = "0.58.0"
|
||||
@@ -14,5 +17,5 @@ features = [
|
||||
"Win32_Foundation",
|
||||
"Win32_System_Threading",
|
||||
"Win32_System_Diagnostics_ToolHelp",
|
||||
"Win32_System_Diagnostics_Debug"
|
||||
"Win32_System_Diagnostics_Debug",
|
||||
]
|
||||
|
||||
+3
-3
@@ -4,12 +4,12 @@ use thiserror::Error;
|
||||
pub enum Error {
|
||||
#[error("failed to obtain handle")]
|
||||
HandleError(String),
|
||||
#[error("failed to create instance")]
|
||||
#[error("failed to access process memory")]
|
||||
MemoryError(String),
|
||||
#[error("failed to create process")]
|
||||
ProcessError(String),
|
||||
#[error("failed to create snapshot")]
|
||||
SnapshotError(String),
|
||||
#[error("failed to convert integer")]
|
||||
IntegerConversionError(#[from] std::num::TryFromIntError),
|
||||
#[error("failed to access process memory")]
|
||||
MemoryError(String),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user