add basic logging

This commit is contained in:
xenofem 2022-04-16 00:03:09 -04:00
parent 69e44b9cbe
commit 7a3fd3f2ca
4 changed files with 54 additions and 1 deletions

37
Cargo.lock generated
View file

@ -288,6 +288,17 @@ version = "0.10.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "619743e34b5ba4e9703bba34deac3427c72507c7159f5fd030aea8cac0cfe341"
[[package]]
name = "atty"
version = "0.2.14"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8"
dependencies = [
"hermit-abi",
"libc",
"winapi",
]
[[package]]
name = "autocfg"
version = "1.1.0"
@ -425,6 +436,17 @@ dependencies = [
"generic-array",
]
[[package]]
name = "colored"
version = "2.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b3616f750b84d8f0de8a58bda93e08e2a81ad3f523089b05f1dffecab48c6cbd"
dependencies = [
"atty",
"lazy_static",
"winapi",
]
[[package]]
name = "convert_case"
version = "0.4.0"
@ -1389,10 +1411,12 @@ dependencies = [
"futures",
"json",
"lazy_static",
"log",
"pdf",
"regex",
"reqwest",
"scraper",
"simple_logger",
"thiserror",
"time 0.3.9",
"tokio",
@ -1764,6 +1788,19 @@ dependencies = [
"libc",
]
[[package]]
name = "simple_logger"
version = "2.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c75a9723083573ace81ad0cdfc50b858aa3c366c48636edb4109d73122a0c0ea"
dependencies = [
"atty",
"colored",
"log",
"time 0.3.9",
"winapi",
]
[[package]]
name = "siphasher"
version = "0.3.10"