From 99a5a056c63b43b065dc6b5edd2af60eb1e9e1c1 Mon Sep 17 00:00:00 2001 From: Varun Ramakrishnan Date: Wed, 4 Dec 2024 00:46:22 -0500 Subject: [PATCH] Add Regex dependency --- Cargo.lock | 39 +++++++++++++++++++++++++++++++++++++++ Cargo.toml | 1 + 2 files changed, 40 insertions(+) diff --git a/Cargo.lock b/Cargo.lock index 9504be6..ea560a5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -24,9 +24,19 @@ dependencies = [ "chrono", "dhat", "pico-args", + "regex", "tinyjson", ] +[[package]] +name = "aho-corasick" +version = "1.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916" +dependencies = [ + "memchr", +] + [[package]] name = "android-tzdata" version = "0.1.1" @@ -303,6 +313,35 @@ dependencies = [ "bitflags", ] +[[package]] +name = "regex" +version = "1.11.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b544ef1b4eac5dc2db33ea63606ae9ffcfac26c1416a2806ae0bf5f56b201191" +dependencies = [ + "aho-corasick", + "memchr", + "regex-automata", + "regex-syntax", +] + +[[package]] +name = "regex-automata" +version = "0.4.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "809e8dc61f6de73b46c85f4c96486310fe304c434cfa43669d7b40f711150908" +dependencies = [ + "aho-corasick", + "memchr", + "regex-syntax", +] + +[[package]] +name = "regex-syntax" +version = "0.8.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2b15c43186be67a4fd63bee50d0303afffcef381492ebe2c5d87f324e1b8815c" + [[package]] name = "rustc-demangle" version = "0.1.23" diff --git a/Cargo.toml b/Cargo.toml index 038a1a3..5d5c7af 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -25,6 +25,7 @@ test_lib = [] chrono = { version = "0.4.38", optional = true } dhat = { version = "0.3.3", optional = true } pico-args = "0.5.0" +regex = "1.11.1" tinyjson = "2.5.1" # Solution dependencies