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

move to rust 2021 #322

Merged
merged 3 commits into from Nov 21, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 3 additions & 2 deletions Cargo.toml
@@ -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
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
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
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