From 1df982005ecbb47a12072763aaf37e098af724a7 Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Sat, 31 Aug 2024 14:17:28 +0100 Subject: [PATCH] chore(tui): add regex dependency --- Cargo.lock | 1 + Cargo.toml | 1 + crates/cli/Cargo.toml | 3 ++- 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Cargo.lock b/Cargo.lock index ed2e952..11fa9ef 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1118,6 +1118,7 @@ dependencies = [ "pretty_assertions", "rand", "ratatui", + "regex", "rstest", "secrecy", "sendmail", diff --git a/Cargo.toml b/Cargo.toml index 3d78df7..10a6639 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -32,6 +32,7 @@ directories = "5.0" lazy_static = "1.5" color-eyre = "0.6" tui-scrollview = "0.4" +regex = "1.10" # CLI parsing clap = { version = "4.5", features = ["cargo", "derive"] } diff --git a/crates/cli/Cargo.toml b/crates/cli/Cargo.toml index c1271bb..b1a4f98 100644 --- a/crates/cli/Cargo.toml +++ b/crates/cli/Cargo.toml @@ -16,7 +16,7 @@ categories = { workspace = true } default = ["forgejo", "github", "tui"] forgejo = ["git-next-forge-forgejo"] github = ["git-next-forge-github"] -tui = ["ratatui", "directories", "lazy_static", "tui-scrollview"] +tui = ["ratatui", "directories", "lazy_static", "tui-scrollview", "regex"] [dependencies] git-next-core = { workspace = true } @@ -29,6 +29,7 @@ directories = { workspace = true, optional = true } lazy_static = { workspace = true, optional = true } color-eyre = { workspace = true } tui-scrollview = { workspace = true, optional = true } +regex = { workspace = true, optional = true } # CLI parsing clap = { workspace = true }