Skip to content

Commit

Permalink
Upgrade deps (w/o syn)
Browse files Browse the repository at this point in the history
Upgrading syn/synstructure breaks the code, TODO figure out why.
  • Loading branch information
RReverser committed Jan 16, 2024
1 parent bd6276d commit cc5277d
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
20 changes: 10 additions & 10 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ exclude = [

[dependencies]
leb128 = "0.2.5"
thiserror = "1.0.38"
thiserror = "1.0.56"
wasmbin-derive = { version = "0.2.2", path = "derive" }
custom_debug = "0.5.0"
once_cell = "1.17.1"
custom_debug = "0.5.1"
once_cell = "1.19.0"

[features]
default = []
Expand All @@ -31,15 +31,15 @@ threads = []
nightly = []

[dev-dependencies]
criterion = "0.4.0"
libtest-mimic = "0.6.0"
wast = "55.0.0"
criterion = "0.5.1"
libtest-mimic = "0.7.0"
wast = "70.0.0"
fehler = "1.0.0"
anyhow = { version = "1.0.69", features = ["backtrace"] }
tempfile = "3.4.0"
anyhow = { version = "1.0.79", features = ["backtrace"] }
tempfile = "3.9.0"
structopt = "0.3.26"
indexmap = { version = "1.9.2", features = ["rayon"] }
rayon = "1.7.0"
indexmap = { version = "2.1.0", features = ["rayon"] }
rayon = "1.8.0"

[[bench]]
name = "bench"
Expand Down
6 changes: 3 additions & 3 deletions derive/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ proc-macro = true

[dependencies]
synstructure = "0.12.6"
quote = "1.0.23"
proc-macro2 = "1.0.51"
quote = "1.0.35"
proc-macro2 = "1.0.76"
syn = "1.0.109"
thiserror = "1.0.38"
thiserror = "1.0.56"
2 changes: 1 addition & 1 deletion tests/spec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ fn unlazify<T: Visit>(mut wasm: T) -> Result<T, DecodeError> {

#[throws]
fn run_test(mut test_module: &[u8], expect_result: Result<(), String>) {
let orig_test_module = test_module;
let orig_test_module = dbg!(test_module);
let module = match (Module::decode_from(&mut test_module).and_then(unlazify), &expect_result) {
(Ok(ref module), Err(err)) => bail!("Expected an invalid module definition with an error: {err}\nParsed part: {parsed_part:02X?}\nGot module: {module:#?}", parsed_part = &orig_test_module[..orig_test_module.len() - test_module.len()]),
(Err(err), Ok(())) => bail!(
Expand Down

0 comments on commit cc5277d

Please sign in to comment.