Skip to content

Commit e1bba15

Browse files
author
Jason Mobarak
committed
make windows non-optional
1 parent f3ce0d8 commit e1bba15

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

entrypoint/Cargo.toml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -43,18 +43,16 @@ features = ["auto-initialize"]
4343
optional = true
4444
version = "0.16"
4545

46+
[dependencies.windows]
47+
features = ["Win32_System_Console", "Win32_Foundation"]
48+
version = ">=0.24"
49+
4650
[features]
47-
entrypoint = ["pyo3", "windows"]
48-
splash = ["minifb", "image", "winit", "windows", "lazy_static"]
51+
entrypoint = ["pyo3"]
52+
splash = ["minifb", "image", "winit", "lazy_static"]
4953

5054
[target]
5155
[target."cfg(target_os = \"windows\")"]
5256
[target."cfg(target_os = \"windows\")".build-dependencies]
5357
[target."cfg(target_os = \"windows\")".build-dependencies.winres]
5458
version = "0.1"
55-
56-
[target."cfg(target_os = \"windows\")".dependencies]
57-
[target."cfg(target_os = \"windows\")".dependencies.windows]
58-
features = ["Win32_System_Console", "Win32_Foundation"]
59-
optional = true
60-
version = ">=0.24"

0 commit comments

Comments
 (0)