fix(deps): update rust dependencies

This commit is contained in:
renovate[bot] 2024-03-04 04:35:43 +00:00 committed by TÖRÖK Attila
parent 2e52ee9f33
commit fae1c458ec
6 changed files with 12 additions and 11 deletions

12
Cargo.lock generated
View File

@ -207,9 +207,9 @@ dependencies = [
[[package]]
name = "arboard"
version = "3.3.1"
version = "3.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1faa3c733d9a3dd6fbaf85da5d162a2e03b2e0033a90dceb0e2a90fdd1e5380a"
checksum = "a2041f1943049c7978768d84e6d0fd95de98b76d6c4727b09e78ec253d29fa58"
dependencies = [
"clipboard-win",
"core-graphics",
@ -2629,9 +2629,9 @@ dependencies = [
[[package]]
name = "id3"
version = "1.12.0"
version = "1.13.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2ba0a11a3cf6f08d58a5629531bdb4e7c3b8b595e9812a31a7058b1176c4631e"
checksum = "79f41f7e5ad125c63d55b112a98afb753742fa7f97692bfbbc52544b89e1ff1f"
dependencies = [
"bitflags 2.4.2",
"byteorder",
@ -2734,9 +2734,9 @@ dependencies = [
[[package]]
name = "insta"
version = "1.35.1"
version = "1.36.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7c985c1bef99cf13c58fade470483d81a2bfe846ebde60ed28cc2dddec2df9e2"
checksum = "0a7c22c4d34ef4788c351e971c52bfdfe7ea2766f8c5466bc175dd46e52ac22e"
dependencies = [
"console",
"lazy_static",

View File

@ -65,7 +65,7 @@ enum-map = "2.7.3"
ttf-parser = "0.20"
num-bigint = "0.4"
unic-segment = "0.9.0"
id3 = "1.12.0"
id3 = "1.13.1"
[target.'cfg(not(target_family = "wasm"))'.dependencies.futures]
version = "0.3.30"

View File

@ -15,6 +15,7 @@ use core::fmt;
use gc_arena::{Collect, GcCell, GcWeakCell, Mutation};
use id3::{Tag, TagLike};
use std::cell::{Ref, RefMut};
use std::io::Cursor;
use swf::SoundInfo;
use super::SoundChannelObject;
@ -155,7 +156,7 @@ impl<'gc> SoundObject<'gc> {
.id3info
.construct(activation, &[])
.expect("failed to construct ID3Info object");
let tag = Tag::read_from(bytes);
let tag = Tag::read_from2(Cursor::new(bytes));
if let Ok(ref tag) = tag {
if let Some(v) = tag.album() {
id3.set_public_property(

View File

@ -29,7 +29,7 @@ slotmap = { workspace = true }
winit = "0.29.13"
webbrowser = "0.8.12"
url = "2.5.0"
arboard = { version = "3.3.1", features = ["wayland-data-control"] }
arboard = { version = "3.3.2", features = ["wayland-data-control"] }
dirs = "5.0"
isahc = { version = "1.7.2", features = ["cookies"] }
rfd = "0.14.0"

View File

@ -17,5 +17,5 @@ num-derive = "0.4.2"
num-traits = "0.2.18"
[dev-dependencies]
insta = "1.35.1"
insta = "1.36.1"
naga = { workspace = true, features = ["wgsl-out"] }

View File

@ -24,7 +24,7 @@ macro_rules! test_shader {
($shader:expr, $attrs:expr, $shader_type:expr $(,)?) => {
let module = agal_to_naga(&$shader, $attrs, &[Default::default(); 8]).unwrap();
let output = to_wgsl(&module);
insta::assert_display_snapshot!(output);
insta::assert_snapshot!(output);
};
}