Skip to content

Commit

Permalink
2024-10-02-17-32-18
Browse files Browse the repository at this point in the history
  • Loading branch information
mbwilding committed Oct 2, 2024
1 parent f3af378 commit e2997bd
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions dygma-layer-switcher/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ edition = "2021"
authors = ["Matthew Wilding <[email protected]>"]
build = "build_win.rs"

[build-dependencies]
embed-resource = "2.5"

[dependencies]
anyhow = "1.0"
dygma_focus = { version = "0.4", default-features = false, features = [
Expand All @@ -27,16 +30,6 @@ tracing-subscriber = { version = "0.3", default-features = false, features = [
"fmt",
] }
winit = "0.30"

[features]
no-admin = [] # Disable forced administrator mode on Windows

# Windows

[target.'cfg(windows)'.build-dependencies]
embed-resource = "2.5"

[target.'cfg(windows)'.dependencies]
windows = { version = "0.56", features = [
"Win32_Foundation",
"Win32_UI_Accessibility",
Expand All @@ -45,3 +38,6 @@ windows = { version = "0.56", features = [
"Win32_System_Threading",
"Win32_System_ProcessStatus",
] }

[features]
no-admin = [] # Disable forced administrator mode on Windows

0 comments on commit e2997bd

Please sign in to comment.