|
|
|
@ -4,6 +4,7 @@ use color_eyre::eyre::Result;
@@ -4,6 +4,7 @@ use color_eyre::eyre::Result;
|
|
|
|
|
use rusqlite::Connection as DbConnection; |
|
|
|
|
use rusqlite::NO_PARAMS; |
|
|
|
|
use tracing::info; |
|
|
|
|
use tracing_subscriber::EnvFilter; |
|
|
|
|
|
|
|
|
|
mod db; |
|
|
|
|
mod migrations; |
|
|
|
@ -35,8 +36,8 @@ fn main() -> Result<()> {
@@ -35,8 +36,8 @@ fn main() -> Result<()> {
|
|
|
|
|
tracing_subscriber::fmt() |
|
|
|
|
.with_ansi(true) |
|
|
|
|
.with_env_filter( |
|
|
|
|
tracing_subscriber::EnvFilter::try_from_default_env() |
|
|
|
|
.unwrap_or_else(|_| tracing_subscriber::EnvFilter::new("info")), |
|
|
|
|
EnvFilter::try_from_default_env() |
|
|
|
|
.unwrap_or_else(|_| EnvFilter::new("info")), |
|
|
|
|
) |
|
|
|
|
.init(); |
|
|
|
|
color_eyre::install()?; |
|
|
|
|