Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
gsxhnd committed Dec 26, 2023
1 parent b0801d9 commit b62e714
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 3 deletions.
2 changes: 2 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ bytes = { version = "1.4", features = ["serde"] }
clap = { version = "4.3", features = ["derive", "env"] }
futures = { version = "0.3" }
futures-util = { version = "0.3" }
log = {version="0.4"}
reqwest = { version = "0.11", features = ["json"] }
scraper = "0.18"
sea-orm = { version = "0.12", features = [
Expand All @@ -51,5 +52,6 @@ tokio-util = { version = "0.7", features = ["codec"] }
tokio-stream = "0.1.14"
tokio-tungstenite = { version = "0.19" }
tracing = { version = "0.1" }
tracing-subscriber = "0.3"
walkdir = "2"
tracing-subscriber = { version = "0.3" }
tracing-log = { version = "0.2" }
walkdir = { version = "2" }
2 changes: 2 additions & 0 deletions garage-cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ garage_ffmpeg = { path = "../garage-ffmpeg" }
ruspider = { path = "../ruspider" }

clap = { workspace = true, features = ["derive", "env"] }
log = { workspace = true }
sea-orm = { workspace = true, features = [
"sqlx-sqlite",
"runtime-tokio-rustls",
Expand All @@ -28,4 +29,5 @@ sea-query = { workspace = true }
serde = { workspace = true, features = ["derive"] }
tokio = { workspace = true, features = ["full"] }
tracing = { workspace = true }
tracing-log = { workspace = true }
tracing-subscriber = { workspace = true }
6 changes: 5 additions & 1 deletion garage-cli/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,16 @@ mod jav;
mod spider;
mod tenhou;
use clap::Command;
use log;
use tracing::info;
use tracing_log::LogTracer;
use tracing_subscriber::{fmt, layer::SubscriberExt, util::SubscriberInitExt};

#[tokio::main]
async fn main() {
tracing_subscriber::registry().with(fmt::layer()).init();
let _ = LogTracer::init();
log::warn!("test");
// tracing_subscriber::registry().with(fmt::layer()).init();

let cmd = Command::new("garage")
.bin_name("garage")
Expand Down

0 comments on commit b62e714

Please sign in to comment.