chore(tui): add regex dependency

This commit is contained in:
Paul Campbell 2024-08-31 14:17:28 +01:00
parent 2abb36ad6c
commit 1df982005e
3 changed files with 4 additions and 1 deletions

1
Cargo.lock generated
View file

@ -1118,6 +1118,7 @@ dependencies = [
"pretty_assertions", "pretty_assertions",
"rand", "rand",
"ratatui", "ratatui",
"regex",
"rstest", "rstest",
"secrecy", "secrecy",
"sendmail", "sendmail",

View file

@ -32,6 +32,7 @@ directories = "5.0"
lazy_static = "1.5" lazy_static = "1.5"
color-eyre = "0.6" color-eyre = "0.6"
tui-scrollview = "0.4" tui-scrollview = "0.4"
regex = "1.10"
# CLI parsing # CLI parsing
clap = { version = "4.5", features = ["cargo", "derive"] } clap = { version = "4.5", features = ["cargo", "derive"] }

View file

@ -16,7 +16,7 @@ categories = { workspace = true }
default = ["forgejo", "github", "tui"] default = ["forgejo", "github", "tui"]
forgejo = ["git-next-forge-forgejo"] forgejo = ["git-next-forge-forgejo"]
github = ["git-next-forge-github"] github = ["git-next-forge-github"]
tui = ["ratatui", "directories", "lazy_static", "tui-scrollview"] tui = ["ratatui", "directories", "lazy_static", "tui-scrollview", "regex"]
[dependencies] [dependencies]
git-next-core = { workspace = true } git-next-core = { workspace = true }
@ -29,6 +29,7 @@ directories = { workspace = true, optional = true }
lazy_static = { workspace = true, optional = true } lazy_static = { workspace = true, optional = true }
color-eyre = { workspace = true } color-eyre = { workspace = true }
tui-scrollview = { workspace = true, optional = true } tui-scrollview = { workspace = true, optional = true }
regex = { workspace = true, optional = true }
# CLI parsing # CLI parsing
clap = { workspace = true } clap = { workspace = true }