From 809795efa462dac7f009129d82380998211d9c9a Mon Sep 17 00:00:00 2001 From: NikVolf Date: Tue, 23 Jan 2018 14:35:17 +0300 Subject: [PATCH 1/3] add deprecated warning --- src/interpreter/mod.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/interpreter/mod.rs b/src/interpreter/mod.rs index 2001f2f..61ac6ff 100644 --- a/src/interpreter/mod.rs +++ b/src/interpreter/mod.rs @@ -1,5 +1,7 @@ //! WebAssembly interpreter module. +#![deprecated(since = "0.23", note = "Use wasmi crate to interpret wasm")] + use std::any::TypeId; use std::error; use std::fmt; From 0d384ba1463db33e8caeaa404221936913b2881d Mon Sep 17 00:00:00 2001 From: NikVolf Date: Tue, 23 Jan 2018 14:35:32 +0300 Subject: [PATCH 2/3] bump version --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 089ab1a..9232c8e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "parity-wasm" -version = "0.22.0" +version = "0.23.0" authors = ["Nikolay Volf ", "Svyatoslav Nikolsky ", "Sergey Shulepov "] license = "MIT/Apache-2.0" readme = "README.md" From 3dd880571b427919191b817be566743bffb02ce2 Mon Sep 17 00:00:00 2001 From: NikVolf Date: Tue, 23 Jan 2018 15:55:12 +0300 Subject: [PATCH 3/3] add notice to readme --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index ed8cc80..2249661 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ ## Rust WebAssembly format serializing/deserializing -along with experimental interpreter +along with (now deprecated) experimental interpreter ```rust @@ -37,6 +37,10 @@ Decoder can be fuzzed with `cargo-fuzz` using `wasm-opt` (https://github.com/Web - set rustup to use a nightly toolchain, because `cargo fuzz` uses a rust compiler plugin: `rustup override set nightly` - run `cargo fuzz run deserialize` +## Interpreter deprecated + +Interpreter here is in deprecated state, new one (`wasmi`) can be found in separate crate: https://github.com/pepyakin/wasmi. + # License `parity-wasm` is primarily distributed under the terms of both the MIT