Skip to content

Commit

Permalink
Enables Win32 and Win32_System on windows-sy
Browse files Browse the repository at this point in the history
  • Loading branch information
ultimaweapon committed Sep 18, 2024
1 parent 3352992 commit ce95576
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
[package]
name = "gmtx"
description = "Mutex that grant exclusive access to a group of members"
version = "0.1.0"
edition = "2021"
repository = "https://github.com/obhq/gmtx"
license = "MIT OR Apache-2.0"

[target.'cfg(unix)'.dependencies]
libc = "0.2"

[target.'cfg(windows)'.dependencies]
windows-sys = { version = "0.52", features = ["Win32_System_Threading"] }
windows-sys = { version = "0.59.0", features = ["Win32", "Win32_System", "Win32_System_Threading"] }

[target.'cfg(target_os = "macos")'.dependencies]
ulock-sys = "0.1.0"

0 comments on commit ce95576

Please sign in to comment.