diff --git a/Cargo.toml b/Cargo.toml index f2c71e27e..3506f0f99 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "parity-wasm" -version = "0.44.0" +version = "0.45.0" authors = ["Nikolay Volf ", "Svyatoslav Nikolsky ", "Sergey Shulepov "] license = "MIT/Apache-2.0" readme = "README.md" @@ -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"] diff --git a/fuzz/Cargo.toml b/fuzz/Cargo.toml index b44199cf3..23c5e299d 100644 --- a/fuzz/Cargo.toml +++ b/fuzz/Cargo.toml @@ -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 diff --git a/src/elements/types.rs b/src/elements/types.rs index 5bcd70a51..e7f680ff1 100644 --- a/src/elements/types.rs +++ b/src/elements/types.rs @@ -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)) }, diff --git a/testsuite/Cargo.toml b/testsuite/Cargo.toml index d79ec30b7..fa09ac6b6 100644 --- a/testsuite/Cargo.toml +++ b/testsuite/Cargo.toml @@ -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"