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