Skip to content

Commit

Permalink
Version bumps & clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
Zerthox committed Jul 3, 2024
1 parent c716a38 commit 078fd3d
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 6 deletions.
4 changes: 2 additions & 2 deletions arcdps/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "arcdps"
version = "0.14.0"
version = "0.15.0"
authors = ["Zerthox", "Greaka"]
edition = "2021"
description = "Rust bindings for ArcDPS plugins"
Expand All @@ -20,7 +20,7 @@ serde = { version = "1.0.160", features = ["derive"], optional = true }
strum = { version = "0.26.1", features = ["derive"], optional = true }

[dependencies.windows]
version = "0.56.0"
version = "0.57.0"
features = [
"System",
"Win32_Foundation",
Expand Down
2 changes: 1 addition & 1 deletion arcdps/src/exports/raw.rs
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ pub type ExportFreeExtension = unsafe extern "C" fn(sig: u32) -> HMODULE;
///
/// ArcDPS will call `get_release_addr` and its returned function.
/// Upon returning from [`free_extension`] there will be no more pending callbacks.
/// However, the caller must ensure to callbacks are executing before freeing.
/// However, the caller must ensure no callbacks are executing before freeing.
/// Returns `0` if extension was not found or [`HMODULE`] handle of the module otherwise.
///
/// This uses version 2 (`freeextension2`) of the extension API.
Expand Down
1 change: 1 addition & 0 deletions arcdps/src/extras/globals.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ impl ExtrasGlobals {

/// Initializes the Unofficial Extras globals.
pub unsafe fn init(&mut self, handle: HMODULE, version: Option<&'static str>) {
#![allow(clippy::missing_transmute_annotations)]
*self = Self {
handle,
version,
Expand Down
2 changes: 2 additions & 0 deletions arcdps/src/globals.rs
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ impl ArcGlobals {

/// Initializes the ArcDPS globals.
pub unsafe fn init(&mut self, handle: HMODULE, version: Option<&'static str>) {
#![allow(clippy::missing_transmute_annotations)]
*self = Self {
handle,
version,
Expand All @@ -105,6 +106,7 @@ impl ArcGlobals {
}

pub type MallocFn = unsafe extern "C" fn(size: usize, user_data: *mut c_void) -> *mut c_void;

pub type FreeFn = unsafe extern "C" fn(ptr: *mut c_void, user_data: *mut c_void);

/// ImGui context.
Expand Down
2 changes: 1 addition & 1 deletion evtc_dump/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "evtc_dump"
version = "0.1.1"
version = "0.1.2"
authors = ["Zerthox"]
edition = "2021"
description = "Dump ArcDPS EVTC log information"
Expand Down
4 changes: 2 additions & 2 deletions evtc_parse/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "evtc_parse"
version = "0.8.0"
version = "0.9.0"
authors = ["Zerthox"]
edition = "2021"
description = "Parsing for ArcDPS EVTC logs"
Expand All @@ -11,7 +11,7 @@ evtc = { path = "../evtc" }
byteorder = "1.4.3"
serde = { version = "1.0.160", features = ["derive"], optional = true }
thiserror = "1.0.38"
zip = { version = "1.1.1", optional = true }
zip = { version = "2.1.3", optional = true }

[features]
default = ["zevtc"]
Expand Down

0 comments on commit 078fd3d

Please sign in to comment.