Skip to content

Commit b645cdc

Browse files
committed
Update deps
1 parent a6ba466 commit b645cdc

9 files changed

Lines changed: 243 additions & 184 deletions

File tree

Cargo.lock

Lines changed: 221 additions & 162 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ unicase = "2.8.1"
1717
winres = "0.1.12"
1818

1919
[workspace.dependencies.windows]
20-
version = "0.59.0"
20+
version = "0.61.1"
2121
features = [
2222
"Win32_Foundation",
2323
"Win32_System_ApplicationInstallationAndServicing",

crates/autostart-installer/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "autostart-installer"
33
version = "0.1.0"
4-
edition = "2021"
4+
edition = "2024"
55

66
[dependencies]
77
shared.workspace = true

crates/loader/Cargo.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
[package]
22
name = "loader"
33
version = "0.1.0"
4-
edition = "2021"
4+
edition = "2024"
55
authors = ["Cherry"]
66
homepage = "https://github.com/MolotovCherry/Yet-Another-BG3-Native-Mod-Loader"
77
license = "MIT"
8-
rust-version = "1.82"
98

109
[lib]
1110
crate-type = ["cdylib"]

crates/loader/src/lib.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,21 +21,21 @@ use shared::{
2121
};
2222
use tracing::{error, trace};
2323
use windows::{
24-
core::{w, PCWSTR},
2524
Win32::{
26-
Foundation::{BOOL, HINSTANCE, HMODULE, TRUE},
25+
Foundation::{HINSTANCE, HMODULE, TRUE},
2726
System::{
2827
LibraryLoader::{
29-
GetModuleHandleExW, GET_MODULE_HANDLE_EX_FLAG_FROM_ADDRESS,
30-
GET_MODULE_HANDLE_EX_FLAG_PIN,
28+
GET_MODULE_HANDLE_EX_FLAG_FROM_ADDRESS, GET_MODULE_HANDLE_EX_FLAG_PIN,
29+
GetModuleHandleExW,
3130
},
3231
SystemServices::{DLL_PROCESS_ATTACH, DLL_PROCESS_DETACH},
3332
Threading::{OpenEventW, SYNCHRONIZATION_SYNCHRONIZE},
3433
},
3534
},
35+
core::{BOOL, PCWSTR, w},
3636
};
3737

38-
use client::{TrySend as _, CLIENT};
38+
use client::{CLIENT, TrySend as _};
3939
use loader::load_plugins;
4040
use logging::setup_logging;
4141
use utils::{Plugin, ThreadedWrapper};

crates/shared/Cargo.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
[package]
22
name = "shared"
33
version = "0.1.0"
4-
edition = "2021"
5-
rust-version = "1.82"
4+
edition = "2024"
65

76
[dependencies]
87
eyre.workspace = true
@@ -14,7 +13,7 @@ serde_json = "1.0.140"
1413
directories = "6.0.0"
1514
backtrace = "0.3.74"
1615
toml = "0.8.20"
17-
tokio = { version = "1.44.0", features = ["net", "rt"] }
16+
tokio = { version = "1.44.2", features = ["net", "rt"] }
1817

1918
[lints]
2019
workspace = true

crates/yabg3nml/Cargo.toml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
[package]
22
name = "yabg3nml"
3-
version = "0.3.0"
4-
edition = "2021"
3+
version = "0.3.1"
4+
edition = "2024"
55
authors = ["Cherry"]
66
homepage = "https://github.com/MolotovCherry/Yet-Another-BG3-Native-Mod-Loader"
77
license = "MIT"
8-
rust-version = "1.82"
98

109
[features]
1110
test-injection = []
@@ -23,7 +22,7 @@ human-panic = "2.0.2"
2322
tray-icon = "0.20.0"
2423
tracing-appender = "0.2.3"
2524
pelite = "0.10.0"
26-
widestring = "1.1.0"
25+
widestring = "1.2.0"
2726
rand = "0.9.0"
2827

2928
[dependencies.argh]

crates/yabg3nml/src/wapi/enum_windows.rs

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,12 @@ use std::{
77
use eyre::Result;
88
use shared::utils::SuperLock;
99
use tracing::{error, trace_span};
10-
use windows::Win32::{
11-
Foundation::{BOOL, HWND, LPARAM},
12-
UI::WindowsAndMessaging::EnumWindows,
10+
use windows::{
11+
Win32::{
12+
Foundation::{HWND, LPARAM},
13+
UI::WindowsAndMessaging::EnumWindows,
14+
},
15+
core::BOOL,
1316
};
1417

1518
type UserCallback<'a> = Box<dyn FnMut(HWND) -> Result<()> + Send + Sync + 'a>;

rust-toolchain.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
[toolchain]
2-
channel = "nightly-2024-12-17"
3-
components = ["rustfmt", "clippy"]
4-
profile = "minimal"
2+
channel = "nightly-2025-04-10"
3+
components = ["rustfmt", "clippy", "cargo"]
4+
profile = "default"

0 commit comments

Comments
 (0)