From e81db83f5d2c64bb9f44515ba6935a1761b89028 Mon Sep 17 00:00:00 2001 From: Lucas Kent Date: Mon, 16 Oct 2023 09:56:29 +1100 Subject: [PATCH] Make winapi dep windows only --- cryptovec/Cargo.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cryptovec/Cargo.toml b/cryptovec/Cargo.toml index 92450230..7c59a1a1 100644 --- a/cryptovec/Cargo.toml +++ b/cryptovec/Cargo.toml @@ -11,4 +11,6 @@ version = "0.7.0" [dependencies] libc = "0.2" + +[target.'cfg(target_os = "windows")'.dependencies] winapi = {version = "0.3", features = ["basetsd", "minwindef", "memoryapi"]}