cleanup, remove minimp3 dep

This commit is contained in:
yuni 2024-03-30 14:43:46 +01:00
parent f70c47f891
commit 1c900b1936
2 changed files with 2 additions and 39 deletions

32
Cargo.lock generated
View file

@ -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"

View file

@ -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