From 2bb8bd6d8f82c365cbf2a55474ecd827d2860c59 Mon Sep 17 00:00:00 2001 From: Rekai Musuka Date: Sat, 30 Oct 2021 09:37:24 +0900 Subject: [PATCH] chore: update dependencies --- Cargo.lock | 44 ++++---------------------------------------- Cargo.toml | 2 +- src/main.rs | 2 -- src/ppu.rs | 1 - 4 files changed, 5 insertions(+), 44 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index ad46392..ed1e204 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -245,18 +245,6 @@ version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fd16c4719339c4530435d38e511904438d07cce7950afa3718a84ac36c10e89e" -[[package]] -name = "chrono" -version = "0.4.19" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "670ad68c9088c2a963aaa298cb369688cf3f9465ce5e2d4ca10e6e0098a1ce73" -dependencies = [ - "libc", - "num-integer", - "num-traits", - "winapi", -] - [[package]] name = "clang-sys" version = "1.2.2" @@ -1078,9 +1066,9 @@ dependencies = [ [[package]] name = "matchers" -version = "0.0.1" +version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f099785f7595cc4b4553a174ce30dd7589ef93391ff414dbb67f62392b9e0ce1" +checksum = "8263075bb86c5a1b1427b5ae862e8889656f126e9f77c484496e8b47cf5c5558" dependencies = [ "regex-automata", ] @@ -1338,16 +1326,6 @@ dependencies = [ "syn", ] -[[package]] -name = "num-integer" -version = "0.1.44" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d2cc698a63b549a70bc047073d2949cce27cd1c7b0a4a862d08a8031bc2801db" -dependencies = [ - "autocfg", - "num-traits", -] - [[package]] name = "num-traits" version = "0.2.14" @@ -2028,36 +2006,22 @@ dependencies = [ "tracing-core", ] -[[package]] -name = "tracing-serde" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fb65ea441fbb84f9f6748fd496cf7f63ec9af5bca94dd86456978d055e8eb28b" -dependencies = [ - "serde", - "tracing-core", -] - [[package]] name = "tracing-subscriber" -version = "0.2.25" +version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0e0d2eaa99c3c2e41547cfa109e910a68ea03823cccad4a0525dcbc9b01e8c71" +checksum = "80a4ddde70311d8da398062ecf6fc2c309337de6b0f77d6c27aff8d53f6fca52" dependencies = [ "ansi_term 0.12.1", - "chrono", "lazy_static", "matchers", "regex", - "serde", - "serde_json", "sharded-slab", "smallvec", "thread_local", "tracing", "tracing-core", "tracing-log", - "tracing-serde", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index 5531544..b33b0a3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -18,7 +18,7 @@ rodio = "0.14" rtrb = "0.2" directories-next = "2.0" tracing = "0.1" -tracing-subscriber = "0.2" +tracing-subscriber = { version = "0.3", features = ["std", "env-filter"] } [profile.release] debug = true diff --git a/src/main.rs b/src/main.rs index b218cf4..281a3de 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,5 +1,3 @@ -use std::convert::TryInto; - use anyhow::Result; use clap::{crate_authors, crate_description, crate_name, crate_version, App, Arg}; use gb::emu::{Emulator, CYCLES_IN_FRAME}; diff --git a/src/ppu.rs b/src/ppu.rs index ccb253d..0911bc7 100644 --- a/src/ppu.rs +++ b/src/ppu.rs @@ -4,7 +4,6 @@ use crate::GB_HEIGHT; use crate::GB_WIDTH; use dma::DirectMemoryAccess; use std::collections::VecDeque; -use std::convert::TryInto; pub(crate) use types::PpuMode; use types::{ BackgroundPalette, GrayShade, LCDControl, LCDStatus, ObjectFlags, ObjectPalette,