analyze_logs: introduce LogProvider trait

This commit is contained in:
seth 2024-03-23 15:56:54 -04:00
parent b63ecde6b4
commit 827b5a4bd7
12 changed files with 270 additions and 164 deletions

14
Cargo.lock generated
View file

@ -465,6 +465,18 @@ dependencies = [
"cfg-if",
]
[[package]]
name = "enum_dispatch"
version = "0.3.12"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8f33313078bb8d4d05a2733a94ac4c2d8a0df9a2b84424ebf4f33bfc224a890e"
dependencies = [
"once_cell",
"proc-macro2",
"quote",
"syn 2.0.48",
]
[[package]]
name = "env_filter"
version = "0.1.0"
@ -1390,9 +1402,9 @@ dependencies = [
name = "refraction"
version = "2.0.0"
dependencies = [
"async-trait",
"color-eyre",
"dotenvy",
"enum_dispatch",
"env_logger",
"eyre",
"gray_matter",