Skip to content

Commit

Permalink
fix(deps): update rust dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] authored and torokati44 committed Mar 4, 2024
1 parent 2e52ee9 commit fae1c45
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 11 deletions.
12 changes: 6 additions & 6 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
3 changes: 2 additions & 1 deletion core/src/avm2/object/sound_object.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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(
Expand Down
2 changes: 1 addition & 1 deletion desktop/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion render/naga-agal/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"] }
2 changes: 1 addition & 1 deletion render/naga-agal/tests/wgsl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
};
}

Expand Down

0 comments on commit fae1c45

Please sign in to comment.