From 1c900b193606ebd90fe2937a16889e5bfe60edad Mon Sep 17 00:00:00 2001 From: hut Date: Sat, 30 Mar 2024 14:43:46 +0100 Subject: [PATCH] cleanup, remove minimp3 dep --- Cargo.lock | 32 -------------------------------- Cargo.toml | 9 ++------- 2 files changed, 2 insertions(+), 39 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 48436ee..bcdbd2f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2340,26 +2340,6 @@ version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a" -[[package]] -name = "minimp3-sys" -version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e21c73734c69dc95696c9ed8926a2b393171d98b3f5f5935686a26a487ab9b90" -dependencies = [ - "cc", -] - -[[package]] -name = "minimp3_fixed" -version = "0.5.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "42b0f14e7e75da97ae396c2656b10262a3d4afa2ec98f35795630eff0c8b951b" -dependencies = [ - "minimp3-sys", - "slice-ring-buffer", - "thiserror", -] - [[package]] name = "miniz_oxide" version = "0.7.2" @@ -2947,7 +2927,6 @@ checksum = "3b1bb7b48ee48471f55da122c0044fcc7600cfcc85db88240b89cb832935e611" dependencies = [ "cpal", "lewton", - "minimp3_fixed", ] [[package]] @@ -3074,17 +3053,6 @@ dependencies = [ "autocfg", ] -[[package]] -name = "slice-ring-buffer" -version = "0.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7081c7e452cb62f5f0c32edd4e265391bdbb23e90905df8bb88a23d3b5166b77" -dependencies = [ - "libc", - "mach2", - "winapi", -] - [[package]] name = "slotmap" version = "1.0.7" diff --git a/Cargo.toml b/Cargo.toml index 2fccd6c..618d89b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,21 +12,16 @@ rust-version = "1.76.0" [dependencies] regex = "1" bevy_embedded_assets = "0.10.2" - -[dependencies."bevy"] -version = "0.13.0" -features = ["jpeg", "minimp3"] +bevy = { version = "0.13.0", features = ["jpeg"] } [features] dev = ["bevy/dynamic_linking"] -# Enable a small amount of optimization in debug mode [profile.dev] opt-level = 1 -# Enable high optimizations for dependencies (incl. Bevy), but not for our code: [profile.dev.package."*"] -opt-level = 3 +opt-level = 3 # high optimizations for dependencies, but not for our code [profile.release] lto = true