gardesk/garlock / 3048d99

Browse files

Add dev feature for escape key exit

Production builds no longer allow escape to exit - only successful
PAM authentication unlocks the screen. Use --features dev for testing.
Authored by mfwolffe <wolffemf@dukes.jmu.edu>
SHA
3048d99767f4fe74897075a665256ca641aebcf8
Parents
1eace39
Tree
15621a1

1 changed file

StatusFile+-
M garlock/Cargo.toml 6 0
garlock/Cargo.tomlmodified
@@ -10,6 +10,11 @@ description = "Screen locker for the gar desktop suite"
1010
 name = "garlock"
1111
 path = "src/main.rs"
1212
 
13
+[features]
14
+default = []
15
+# Enable escape key to exit (for development/testing only)
16
+dev = []
17
+
1318
 [dependencies]
1419
 # X11
1520
 x11rb.workspace = true
@@ -54,3 +59,4 @@ xkbcommon.workspace = true
5459
 # Utilities
5560
 dirs.workspace = true
5661
 users.workspace = true
62
+chrono.workspace = true