From 1e892ecbd590f6709921286cabe5d8451e65d163 Mon Sep 17 00:00:00 2001 From: Sprite Date: Sat, 19 Nov 2022 01:57:43 +0800 Subject: [PATCH] Fix the import of `winapi::um::handleapi` on Windows --- spdlog/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spdlog/Cargo.toml b/spdlog/Cargo.toml index b5577dad..3f21ce6c 100644 --- a/spdlog/Cargo.toml +++ b/spdlog/Cargo.toml @@ -54,7 +54,7 @@ static_assertions = "1.1.0" thiserror = "1.0.37" [target.'cfg(windows)'.dependencies] -winapi = { version = "0.3.9", features = ["debugapi", "processthreadsapi"] } +winapi = { version = "0.3.9", features = ["debugapi", "handleapi", "processthreadsapi"] } [target.'cfg(unix)'.dependencies] libc = "0.2"