From 449b200629e8275ad4e1ec7a6b311c53b63fd86c Mon Sep 17 00:00:00 2001 From: Mylloon Date: Mon, 15 Aug 2022 15:46:41 +0200 Subject: [PATCH] add regex --- Cargo.lock | 27 +++++++++++++++++++++++++++ Cargo.toml | 1 + 2 files changed, 28 insertions(+) diff --git a/Cargo.lock b/Cargo.lock index 282c47c..a95f46e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2,6 +2,15 @@ # It is not intended for manual editing. version = 3 +[[package]] +name = "aho-corasick" +version = "0.7.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1e37cfd5e7657ada45f742d6e99ca5788580b5c529dc78faf11ece6dc702656f" +dependencies = [ + "memchr", +] + [[package]] name = "autocfg" version = "1.1.0" @@ -42,6 +51,7 @@ checksum = "ec8a7b6a70fde80372154c65702f00a0f56f3e1c36abbc6c440484be248856db" name = "cal8tor" version = "0.1.0" dependencies = [ + "regex", "reqwest", "scraper", "tokio", @@ -893,6 +903,23 @@ dependencies = [ "bitflags", ] +[[package]] +name = "regex" +version = "1.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4c4eb3267174b8c6c2f654116623910a0fef09c4753f8dd83db29c48a0df988b" +dependencies = [ + "aho-corasick", + "memchr", + "regex-syntax", +] + +[[package]] +name = "regex-syntax" +version = "0.6.27" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a3f87b73ce11b1619a3c6332f45341e0047173771e8b8b73f87bfeefb7b56244" + [[package]] name = "remove_dir_all" version = "0.5.3" diff --git a/Cargo.toml b/Cargo.toml index b0ce5a5..5753d1f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,3 +9,4 @@ edition = "2021" reqwest = { version = "0.11" } tokio = { version = "1", features = ["full"] } scraper = "0.13.0" +regex = "1"