Skip to content
This repository has been archived by the owner on Oct 21, 2022. It is now read-only.

Commit

Permalink
Merge pull request #322 from paritytech/NukeManDan-patch-1
Browse files Browse the repository at this point in the history
version 0.45
rust 2021, 1.56.1
  • Loading branch information
nuke-web3 authored Nov 21, 2021
2 parents 373f655 + 21c3d95 commit 1080066
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
5 changes: 3 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "parity-wasm"
version = "0.44.0"
version = "0.45.0"
authors = ["Nikolay Volf <nikvolf@gmail.com>", "Svyatoslav Nikolsky <svyatonik@yandex.ru>", "Sergey Shulepov <s.pepyakin@gmail.com>"]
license = "MIT/Apache-2.0"
readme = "README.md"
Expand All @@ -11,7 +11,8 @@ description = "WebAssembly low-level format library"
keywords = ["wasm", "webassembly", "bytecode", "serde", "interpreter"]
categories = ["wasm", "parser-implementations"]
include = ["src/**/*", "LICENSE-*", "README.md"]
edition = "2018"
edition = "2021"
rust-version = "1.56.1"

[workspace]
members = ["testsuite"]
Expand Down
2 changes: 2 additions & 0 deletions fuzz/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ name = "parity-wasm-fuzz"
version = "0.0.1"
authors = ["Pat Hickey phickey@fastly.com"]
publish = false
edition = "2021"
rust-version = "1.56.1"

[package.metadata]
cargo-fuzz = true
Expand Down
1 change: 0 additions & 1 deletion src/elements/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,6 @@ impl Deserialize for BlockType {
-0x05 => Ok(BlockType::Value(ValueType::V128)),
#[cfg(feature = "multi_value")]
idx => {
use core::convert::TryInto;
let idx = idx.try_into().map_err(|_| Error::UnknownBlockType(idx))?;
Ok(BlockType::TypeIndex(idx))
},
Expand Down
3 changes: 2 additions & 1 deletion testsuite/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ readme = "README.md"
repository = "https://github.com/nikvolf/parity-wasm"
homepage = "https://github.com/nikvolf/parity-wasm"
description = "parity-wasm testsuite"
edition = "2018"
edition = "2021"
rust-version = "1.56.1"

[dependencies]
wast = "38"
Expand Down

0 comments on commit 1080066

Please sign in to comment.