add regex crate for window rule pattern matching
- SHA
69cf720f013d1b2e3580d7fd2b86eb8a50967d0e- Parents
-
4f254df - Tree
a7543d6
69cf720
69cf720f013d1b2e3580d7fd2b86eb8a50967d0e4f254df
a7543d6| Status | File | + | - |
|---|---|---|---|
| M |
Cargo.lock
|
13 | 0 |
| M |
tarmac/Cargo.toml
|
3 | 0 |
Cargo.lockmodified@@ -476,6 +476,18 @@ dependencies = [ | ||
| 476 | 476 | "thiserror", |
| 477 | 477 | ] |
| 478 | 478 | |
| 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 | + | |
| 479 | 491 | [[package]] |
| 480 | 492 | name = "regex-automata" |
| 481 | 493 | version = "0.4.14" |
@@ -615,6 +627,7 @@ dependencies = [ | ||
| 615 | 627 | "objc2-core-foundation", |
| 616 | 628 | "objc2-core-graphics", |
| 617 | 629 | "objc2-foundation", |
| 630 | + "regex", | |
| 618 | 631 | "serde", |
| 619 | 632 | "serde_json", |
| 620 | 633 | "thiserror", |
tarmac/Cargo.tomlmodified@@ -66,6 +66,9 @@ serde_json = "1" | ||
| 66 | 66 | thiserror = "2" |
| 67 | 67 | anyhow = "1" |
| 68 | 68 | |
| 69 | +# Regex for window rule matching | |
| 70 | +regex = "1" | |
| 71 | + | |
| 69 | 72 | # Utilities |
| 70 | 73 | bitflags = "2" |
| 71 | 74 | ctrlc = "3" |