update crate names

This commit is contained in:
OMGeeky
2024-04-20 16:17:25 +02:00
parent b5be5b29c3
commit 0808d1d439
6 changed files with 12 additions and 12 deletions

View File

@@ -3,17 +3,17 @@ use crate::CONF;
use anyhow::{anyhow, Context};
use google_youtube3::api::Scope;
use lazy_static::lazy_static;
use std::collections::HashMap;
use std::ffi::OsStr;
use std::path::{Path, PathBuf};
use tracing::instrument;
use tracing_subscriber::fmt::format;
use twba_local_db::entities::video_upload::{ActiveModel as VideoUploadActiveModel, UploadStatus};
use twba_local_db::prelude::*;
use twba_local_db::re_exports::sea_orm::{
ActiveModelTrait, ActiveValue, ColumnTrait, DatabaseConnection, EntityTrait, IntoActiveModel,
Order, QueryFilter, QueryOrder,
};
use std::collections::HashMap;
use std::ffi::OsStr;
use std::path::{Path, PathBuf};
use tracing::instrument;
use tracing_subscriber::fmt::format;
mod youtube;

View File

@@ -16,10 +16,10 @@ use google_youtube3::{
hyper_rustls::{HttpsConnector, HttpsConnectorBuilder},
Error as YoutubeError,
};
use twba_local_db::entities::videos::Model;
use twba_local_db::prelude::{UsersModel, VideosModel};
use tokio::fs;
use tracing::instrument;
use twba_local_db::entities::videos::Model;
use twba_local_db::prelude::{UsersModel, VideosModel};
mod auth;
mod flow_delegate;

View File

@@ -4,6 +4,7 @@ use anyhow::{anyhow, Context};
use google_youtube3::api::Scope;
use google_youtube3::{hyper::client::HttpConnector, hyper_rustls::HttpsConnector, oauth2};
use std::collections::HashMap;
use std::fmt::Debug;
use std::path::{Path, PathBuf};
use tokio::fs;
use tracing::instrument;

View File

@@ -1,6 +1,6 @@
#![allow(unused)]
use twba_backup_config::prelude::*;
use lazy_static::lazy_static;
use twba_backup_config::prelude::*;
use prelude::*;
@@ -34,7 +34,7 @@ lazy_static! {
async fn main() -> Result<()> {
tracing_subscriber::fmt()
.with_max_level(tracing::Level::INFO)
.with_env_filter("warn,uploader=trace")
.with_env_filter("warn,twba_uploader=trace")
.init();
let args = std::env::args().collect::<Vec<_>>();
let presentation_mode = args.len() > 1;