add regex

This commit is contained in:
Mylloon 2022-08-15 15:46:41 +02:00
parent 6dc1fb616f
commit 449b200629
Signed by: Anri
GPG key ID: A82D63DFF8D1317F
2 changed files with 28 additions and 0 deletions

27
Cargo.lock generated
View file

@ -2,6 +2,15 @@
# It is not intended for manual editing. # It is not intended for manual editing.
version = 3 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]] [[package]]
name = "autocfg" name = "autocfg"
version = "1.1.0" version = "1.1.0"
@ -42,6 +51,7 @@ checksum = "ec8a7b6a70fde80372154c65702f00a0f56f3e1c36abbc6c440484be248856db"
name = "cal8tor" name = "cal8tor"
version = "0.1.0" version = "0.1.0"
dependencies = [ dependencies = [
"regex",
"reqwest", "reqwest",
"scraper", "scraper",
"tokio", "tokio",
@ -893,6 +903,23 @@ dependencies = [
"bitflags", "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]] [[package]]
name = "remove_dir_all" name = "remove_dir_all"
version = "0.5.3" version = "0.5.3"

View file

@ -9,3 +9,4 @@ edition = "2021"
reqwest = { version = "0.11" } reqwest = { version = "0.11" }
tokio = { version = "1", features = ["full"] } tokio = { version = "1", features = ["full"] }
scraper = "0.13.0" scraper = "0.13.0"
regex = "1"