gardesk/tarmac / 69cf720

Browse files

add regex crate for window rule pattern matching

Authored by espadonne
SHA
69cf720f013d1b2e3580d7fd2b86eb8a50967d0e
Parents
4f254df
Tree
a7543d6

2 changed files

StatusFile+-
M Cargo.lock 13 0
M tarmac/Cargo.toml 3 0
Cargo.lockmodified
@@ -476,6 +476,18 @@ dependencies = [
476476
  "thiserror",
477477
 ]
478478
 
479
+[[package]]
480
+name = "regex"
481
+version = "1.12.3"
482
+source = "registry+https://github.com/rust-lang/crates.io-index"
483
+checksum = "e10754a14b9137dd7b1e3e5b0493cc9171fdd105e0ab477f51b72e7f3ac0e276"
484
+dependencies = [
485
+ "aho-corasick",
486
+ "memchr",
487
+ "regex-automata",
488
+ "regex-syntax",
489
+]
490
+
479491
 [[package]]
480492
 name = "regex-automata"
481493
 version = "0.4.14"
@@ -615,6 +627,7 @@ dependencies = [
615627
  "objc2-core-foundation",
616628
  "objc2-core-graphics",
617629
  "objc2-foundation",
630
+ "regex",
618631
  "serde",
619632
  "serde_json",
620633
  "thiserror",
tarmac/Cargo.tomlmodified
@@ -66,6 +66,9 @@ serde_json = "1"
6666
 thiserror = "2"
6767
 anyhow = "1"
6868
 
69
+# Regex for window rule matching
70
+regex = "1"
71
+
6972
 # Utilities
7073
 bitflags = "2"
7174
 ctrlc = "3"