Skip to content

Commit

Permalink
Remove anyhow (as config load is no longer fallible)
Browse files Browse the repository at this point in the history
  • Loading branch information
66OJ66 committed Nov 4, 2023
1 parent 52f0072 commit ff69dda
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion Cargo.lock

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

1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ default = ["ui"]
ui = []

[dependencies]
anyhow = "1.0.75"
bevy = { version = "0.11.3", features = [
"filesystem_watcher",
"dynamic_linking",
Expand Down
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ use bevy::{

use shadplay::{plugin::ShadPlayPlugin, system::config::UserConfig, utils::AppState};

fn main() -> anyhow::Result<()> {
fn main() {
let path = UserConfig::get_config_path();
// Get UserConfig for the Shadplay window dimensions, decorations toggle etc.
let user_config = match UserConfig::load_from_toml(&path) {
Expand Down

0 comments on commit ff69dda

Please sign in to comment.