From 36223364e07f60f413df70a633b60d57f60f47cc Mon Sep 17 00:00:00 2001 From: Syrus Date: Thu, 11 Jun 2020 09:52:26 -0700 Subject: [PATCH] Updated Wasmer versions to 1.0 --- Cargo.lock | 36 ++++++++++----------- Cargo.toml | 30 ++++++++--------- lib/api/Cargo.toml | 22 ++++++------- lib/api/README.md | 9 +++--- lib/c-api/Cargo.toml | 12 +++---- lib/cache/Cargo.toml | 4 +-- lib/compiler-cranelift/Cargo.toml | 8 ++--- lib/compiler-llvm/Cargo.toml | 8 ++--- lib/compiler-singlepass/Cargo.toml | 8 ++--- lib/compiler/Cargo.toml | 6 ++-- lib/emscripten/Cargo.toml | 4 +-- lib/engine-jit/Cargo.toml | 10 +++--- lib/engine-native/Cargo.toml | 10 +++--- lib/engine/Cargo.toml | 8 ++--- lib/runtime/Cargo.toml | 4 +-- lib/wasi-experimental-io-devices/Cargo.toml | 4 +-- lib/wasi/Cargo.toml | 4 +-- lib/wasm-common/Cargo.toml | 2 +- scripts/update-version.sh | 4 +-- src/windows-installer/wasmer.iss | 2 +- tests/lib/engine-dummy/Cargo.toml | 10 +++--- tests/lib/test-utils/Cargo.toml | 14 ++++---- tests/lib/wast/Cargo.toml | 4 +-- 23 files changed, 112 insertions(+), 111 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 61becff5b..efa0e79dd 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1805,7 +1805,7 @@ dependencies = [ [[package]] name = "test-utils" -version = "0.16.2" +version = "1.0.0" dependencies = [ "wasmer", "wasmer-compiler", @@ -2058,7 +2058,7 @@ checksum = "c9ba19973a58daf4db6f352eda73dc0e289493cd29fb2632eb172085b6521acd" [[package]] name = "wasm-common" -version = "0.16.2" +version = "1.0.0" dependencies = [ "cranelift-entity", "serde", @@ -2066,7 +2066,7 @@ dependencies = [ [[package]] name = "wasmer" -version = "0.16.2" +version = "1.0.0" dependencies = [ "anyhow", "cfg-if", @@ -2092,7 +2092,7 @@ dependencies = [ [[package]] name = "wasmer-bin" -version = "0.16.2" +version = "1.0.0" dependencies = [ "anyhow", "atty", @@ -2126,7 +2126,7 @@ dependencies = [ [[package]] name = "wasmer-c-api" -version = "0.16.2" +version = "1.0.0" dependencies = [ "cbindgen", "cfg-if", @@ -2142,7 +2142,7 @@ dependencies = [ [[package]] name = "wasmer-cache" -version = "0.16.2" +version = "1.0.0" dependencies = [ "blake3", "hex", @@ -2153,7 +2153,7 @@ dependencies = [ [[package]] name = "wasmer-compiler" -version = "0.16.2" +version = "1.0.0" dependencies = [ "enumset", "hashbrown", @@ -2169,7 +2169,7 @@ dependencies = [ [[package]] name = "wasmer-compiler-cranelift" -version = "0.16.2" +version = "1.0.0" dependencies = [ "cranelift-codegen", "cranelift-frontend", @@ -2187,7 +2187,7 @@ dependencies = [ [[package]] name = "wasmer-compiler-llvm" -version = "0.16.2" +version = "1.0.0" dependencies = [ "byteorder", "cc", @@ -2209,7 +2209,7 @@ dependencies = [ [[package]] name = "wasmer-compiler-singlepass" -version = "0.16.2" +version = "1.0.0" dependencies = [ "byteorder", "dynasm", @@ -2227,7 +2227,7 @@ dependencies = [ [[package]] name = "wasmer-engine" -version = "0.16.2" +version = "1.0.0" dependencies = [ "backtrace", "bincode", @@ -2247,7 +2247,7 @@ dependencies = [ [[package]] name = "wasmer-engine-dummy" -version = "0.16.2" +version = "1.0.0" dependencies = [ "bincode", "serde", @@ -2260,7 +2260,7 @@ dependencies = [ [[package]] name = "wasmer-engine-jit" -version = "0.16.2" +version = "1.0.0" dependencies = [ "bincode", "region", @@ -2275,7 +2275,7 @@ dependencies = [ [[package]] name = "wasmer-engine-native" -version = "0.16.2" +version = "1.0.0" dependencies = [ "bincode", "cfg-if", @@ -2294,7 +2294,7 @@ dependencies = [ [[package]] name = "wasmer-runtime" -version = "0.16.2" +version = "1.0.0" dependencies = [ "backtrace", "cc", @@ -2312,7 +2312,7 @@ dependencies = [ [[package]] name = "wasmer-wasi" -version = "0.16.2" +version = "1.0.0" dependencies = [ "bincode", "byteorder", @@ -2330,7 +2330,7 @@ dependencies = [ [[package]] name = "wasmer-wasi-experimental-io-devices" -version = "0.16.2" +version = "1.0.0" dependencies = [ "minifb", "ref_thread_local", @@ -2342,7 +2342,7 @@ dependencies = [ [[package]] name = "wasmer-wast" -version = "0.16.2" +version = "1.0.0" dependencies = [ "anyhow", "thiserror", diff --git a/Cargo.toml b/Cargo.toml index 058f61831..2ced2b292 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasmer-bin" -version = "0.16.2" +version = "1.0.0" authors = ["The Wasmer Engineering Team "] repository = "https://github.com/wasmerio/wasmer" description = "High-Performance WebAssembly Framework" @@ -25,20 +25,20 @@ path = "src/bin/wasmer.rs" doc = false [dependencies] -wasmer = { version = "0.16.2", path = "lib/api", default-features = false } -wasmer-compiler = { version = "0.16.2", path = "lib/compiler" } -wasmer-compiler-cranelift = { version = "0.16.2", path = "lib/compiler-cranelift", optional = true } -wasmer-compiler-singlepass = { version = "0.16.2", path = "lib/compiler-singlepass", optional = true } -wasmer-compiler-llvm = { version = "0.16.2", path = "lib/compiler-llvm", optional = true } -#wasmer-emscripten = { version = "0.16.2", path = "lib/emscripten", optional = true } -wasmer-engine = { version = "0.16.2", path = "lib/engine" } -wasmer-engine-jit = { version = "0.16.2", path = "lib/engine-jit", optional = true } -wasmer-engine-native = { version = "0.16.2", path = "lib/engine-native", optional = true } -wasmer-wasi = { version = "0.16.2", path = "lib/wasi", optional = true } -wasmer-wasi-experimental-io-devices = { version = "0.16.2", path = "lib/wasi-experimental-io-devices", optional = true } -wasmer-wast = { version = "0.16.2", path = "tests/lib/wast", optional = true } -wasmer-cache = { version = "0.16.2", path = "lib/cache", optional = true } -wasm-common = { version = "0.16.2", path = "lib/wasm-common" } +wasmer = { version = "1.0.0", path = "lib/api", default-features = false } +wasmer-compiler = { version = "1.0.0", path = "lib/compiler" } +wasmer-compiler-cranelift = { version = "1.0.0", path = "lib/compiler-cranelift", optional = true } +wasmer-compiler-singlepass = { version = "1.0.0", path = "lib/compiler-singlepass", optional = true } +wasmer-compiler-llvm = { version = "1.0.0", path = "lib/compiler-llvm", optional = true } +#wasmer-emscripten = { version = "1.0.0", path = "lib/emscripten", optional = true } +wasmer-engine = { version = "1.0.0", path = "lib/engine" } +wasmer-engine-jit = { version = "1.0.0", path = "lib/engine-jit", optional = true } +wasmer-engine-native = { version = "1.0.0", path = "lib/engine-native", optional = true } +wasmer-wasi = { version = "1.0.0", path = "lib/wasi", optional = true } +wasmer-wasi-experimental-io-devices = { version = "1.0.0", path = "lib/wasi-experimental-io-devices", optional = true } +wasmer-wast = { version = "1.0.0", path = "tests/lib/wast", optional = true } +wasmer-cache = { version = "1.0.0", path = "lib/cache", optional = true } +wasm-common = { version = "1.0.0", path = "lib/wasm-common" } atty = "0.2" colored = "1.9" anyhow = "1.0" diff --git a/lib/api/Cargo.toml b/lib/api/Cargo.toml index c4d9d5449..e37bff8d2 100644 --- a/lib/api/Cargo.toml +++ b/lib/api/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasmer" -version = "0.16.2" +version = "1.0.0" authors = ["Wasmer Engineering Team "] description = "Wasmer runtime API" license = "(Apache-2.0 WITH LLVM-exception) OR MIT" @@ -9,15 +9,15 @@ readme = "README.md" edition = "2018" [dependencies] -wasmer-runtime = { path = "../runtime", version = "0.16.2" } -wasmer-compiler-singlepass = { path = "../compiler-singlepass", version = "0.16.2", optional = true } -wasmer-compiler-cranelift = { path = "../compiler-cranelift", version = "0.16.2", optional = true } -wasmer-compiler-llvm = { path = "../compiler-llvm", version = "0.16.2", optional = true } -wasmer-compiler = { path = "../compiler", version = "0.16.2" } -wasmer-engine = { path = "../engine", version = "0.16.2" } -wasmer-engine-jit = { path = "../engine-jit", version = "0.16.2", optional = true } -wasmer-engine-native = { path = "../engine-native", version = "0.16.2", optional = true } -wasm-common = { path = "../wasm-common", version = "0.16.2" } +wasmer-runtime = { path = "../runtime", version = "1.0.0" } +wasmer-compiler-singlepass = { path = "../compiler-singlepass", version = "1.0.0", optional = true } +wasmer-compiler-cranelift = { path = "../compiler-cranelift", version = "1.0.0", optional = true } +wasmer-compiler-llvm = { path = "../compiler-llvm", version = "1.0.0", optional = true } +wasmer-compiler = { path = "../compiler", version = "1.0.0" } +wasmer-engine = { path = "../engine", version = "1.0.0" } +wasmer-engine-jit = { path = "../engine-jit", version = "1.0.0", optional = true } +wasmer-engine-native = { path = "../engine-native", version = "1.0.0", optional = true } +wasm-common = { path = "../wasm-common", version = "1.0.0" } indexmap = { version = "1.3", features = ["serde-1"] } cfg-if = "0.1" wat = { version = "1.0", optional = true } @@ -30,7 +30,7 @@ winapi = "0.3" [dev-dependencies] # for the binary wasmer.rs -wasmer-engine-dummy = { path = "../../tests/lib/engine-dummy", version = "0.16.2" } +wasmer-engine-dummy = { path = "../../tests/lib/engine-dummy", version = "1.0.0" } libc = { version = "0.2", default-features = false } wat = "1.0" tempfile = "3.1" diff --git a/lib/api/README.md b/lib/api/README.md index 1d38d7f3c..60e2badd5 100644 --- a/lib/api/README.md +++ b/lib/api/README.md @@ -12,11 +12,11 @@ Add to your `Cargo.toml` ``` [dependencies] -wasmer = "0.16.2" +wasmer = "1.0" ``` ```rust -use wasmer::{Instance, Function, Value, imports, DefaultStore as _}; +use wasmer::{Store, Module, Instance, Value, imports}; fn main() -> anyhow::Result<()> { let module_wat = r#" @@ -28,10 +28,11 @@ fn main() -> anyhow::Result<()> { i32.add)) "#; - let module = Module::new(&module_wat); + let store = Store::default(); + let module = Module::new(&store, &module_wat); // The module doesn't import anything, so we create an empty import object. let import_object = imports! {}; - let instance = Instance::new(module, &import_object)?; + let instance = Instance::new(&module, &import_object)?; let add_one = instance.exports.get_function("add_one")?; let result = add_one.call([Value::I32(42)])?; diff --git a/lib/c-api/Cargo.toml b/lib/c-api/Cargo.toml index b45c725be..2c30453ac 100644 --- a/lib/c-api/Cargo.toml +++ b/lib/c-api/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasmer-c-api" -version = "0.16.2" +version = "1.0.0" description = "Wasmer C API library" documentation = "https://wasmerio.github.io/wasmer/c-api/" license = "MIT" @@ -23,28 +23,28 @@ thiserror = "1" paste = "0.1" # for generating code in the same way thot the wasm-c-api does # Commented out for now until we can find a solution to the exported function problem -# wasmer-wasm-c-api = { version = "0.16.2", path = "crates/wasm-c-api" } +# wasmer-wasm-c-api = { version = "1.0.0", path = "crates/wasm-c-api" } [dependencies.wasmer] default-features = false features = ["compiler", "engine", "jit"] path = "../api" -version = "0.16.2" +version = "1.0.0" [dependencies.wasm-common] default-features = false path = "../wasm-common" -version = "0.16.2" +version = "1.0.0" [dependencies.wasmer-wasi] default-features = false path = "../wasi" -version = "0.16.2" +version = "1.0.0" optional = true #[dependencies.wasmer-emscripten] #path = "../emscripten" -#version = "0.16.2" +#version = "1.0.0" #optional = true [features] diff --git a/lib/cache/Cargo.toml b/lib/cache/Cargo.toml index 84a046d5a..e8ebec664 100644 --- a/lib/cache/Cargo.toml +++ b/lib/cache/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasmer-cache" -version = "0.16.2" +version = "1.0.0" description = "Cache system for WebAssembly" license = "MIT" authors = ["Wasmer Engineering Team "] @@ -11,7 +11,7 @@ keywords = ["webassembly", "wasm", "cache"] edition = "2018" [dependencies] -wasmer = { path = "../api", version = "0.16.2", default-features = false } +wasmer = { path = "../api", version = "1.0.0", default-features = false } memmap = "0.7" hex = "0.4" thiserror = "1" diff --git a/lib/compiler-cranelift/Cargo.toml b/lib/compiler-cranelift/Cargo.toml index d01c5f091..daac6d42a 100644 --- a/lib/compiler-cranelift/Cargo.toml +++ b/lib/compiler-cranelift/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasmer-compiler-cranelift" -version = "0.16.2" +version = "1.0.0" authors = ["Wasmer Engineering Team "] description = "Standalone environment support for WebAsssembly code in Cranelift" license = "MIT OR (Apache-2.0 WITH LLVM-exception)" @@ -12,9 +12,9 @@ readme = "README.md" edition = "2018" [dependencies] -wasmer-compiler = { path = "../compiler", version = "0.16.2", features = ["translator"], default-features = false } -wasmer-runtime = { path = "../runtime", version = "0.16.2" } -wasm-common = { path = "../wasm-common", version = "0.16.2", default-features = false } +wasmer-compiler = { path = "../compiler", version = "1.0.0", features = ["translator"], default-features = false } +wasmer-runtime = { path = "../runtime", version = "1.0.0" } +wasm-common = { path = "../wasm-common", version = "1.0.0", default-features = false } cranelift-codegen = { version = "0.62", default-features = false } cranelift-frontend = { version = "0.62", default-features = false } tracing = "0.1" diff --git a/lib/compiler-llvm/Cargo.toml b/lib/compiler-llvm/Cargo.toml index 8dedfd4a0..50e8a13ed 100644 --- a/lib/compiler-llvm/Cargo.toml +++ b/lib/compiler-llvm/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasmer-compiler-llvm" -version = "0.16.2" +version = "1.0.0" license = "MIT" authors = ["Wasmer Engineering Team "] repository = "https://github.com/wasmerio/wasmer" @@ -10,9 +10,9 @@ edition = "2018" readme = "README.md" [dependencies] -wasmer-compiler = { path = "../compiler", version = "0.16.2", features = ["translator"] } -wasmer-runtime = { path = "../runtime", version = "0.16.2" } -wasm-common = { path = "../wasm-common", version = "0.16.2" } +wasmer-compiler = { path = "../compiler", version = "1.0.0", features = ["translator"] } +wasmer-runtime = { path = "../runtime", version = "1.0.0" } +wasm-common = { path = "../wasm-common", version = "1.0.0" } target-lexicon = { version = "0.10", default-features = false } smallvec = "1" goblin = "0.2" diff --git a/lib/compiler-singlepass/Cargo.toml b/lib/compiler-singlepass/Cargo.toml index ff4475cf8..0776e2bbb 100644 --- a/lib/compiler-singlepass/Cargo.toml +++ b/lib/compiler-singlepass/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasmer-compiler-singlepass" -version = "0.16.2" +version = "1.0.0" authors = ["Wasmer Engineering Team "] description = "Standalone environment support for WebAsssembly code in Singlepass" license = "MIT OR (Apache-2.0 WITH LLVM-exception)" @@ -12,9 +12,9 @@ readme = "README.md" edition = "2018" [dependencies] -wasmer-compiler = { path = "../compiler", version = "0.16.2", features = ["translator"], default-features = false } -wasmer-runtime = { path = "../runtime", version = "0.16.2" } -wasm-common = { path = "../wasm-common", version = "0.16.2", default-features = false } +wasmer-compiler = { path = "../compiler", version = "1.0.0", features = ["translator"], default-features = false } +wasmer-runtime = { path = "../runtime", version = "1.0.0" } +wasm-common = { path = "../wasm-common", version = "1.0.0", default-features = false } rayon = "1.3" hashbrown = { version = "0.7", optional = true } serde = { version = "1.0", features = ["derive"] } diff --git a/lib/compiler/Cargo.toml b/lib/compiler/Cargo.toml index 24f4003ad..0392cd23c 100644 --- a/lib/compiler/Cargo.toml +++ b/lib/compiler/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasmer-compiler" -version = "0.16.2" +version = "1.0.0" description = "Base compiler abstraction for WebAssembly" license = "MIT OR (Apache-2.0 WITH LLVM-exception)" authors = ["Wasmer Engineering Team "] @@ -11,8 +11,8 @@ keywords = ["webassembly", "wasm", "compiler"] edition = "2018" [dependencies] -wasmer-runtime = { path = "../runtime", version = "0.16.2" } -wasm-common = { path = "../wasm-common", version = "0.16.2" } +wasmer-runtime = { path = "../runtime", version = "1.0.0" } +wasm-common = { path = "../wasm-common", version = "1.0.0" } wasmparser = { version = "0.51", optional = true, default-features = false } target-lexicon = { version = "0.10", default-features = false } enumset = "1.0" diff --git a/lib/emscripten/Cargo.toml b/lib/emscripten/Cargo.toml index 3fb904902..1c1287d58 100644 --- a/lib/emscripten/Cargo.toml +++ b/lib/emscripten/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasmer-emscripten" -version = "0.16.2" +version = "1.0.0" description = "Wasmer runtime emscripten implementation library" license = "MIT" authors = ["The Wasmer Engineering Team "] @@ -15,7 +15,7 @@ lazy_static = "1.4" libc = "0.2.60" log = "0.4" time = "0.1" -wasmer-runtime-core = { path = "../runtime-core", version = "0.16.2" } +wasmer-runtime-core = { path = "../runtime-core", version = "1.0.0" } [target.'cfg(windows)'.dependencies] getrandom = "0.1" diff --git a/lib/engine-jit/Cargo.toml b/lib/engine-jit/Cargo.toml index 1d775069b..bd0ed697a 100644 --- a/lib/engine-jit/Cargo.toml +++ b/lib/engine-jit/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasmer-engine-jit" -version = "0.16.2" +version = "1.0.0" authors = ["Wasmer Engineering Team "] description = "Wasmer JIT Engine" license = "(Apache-2.0 WITH LLVM-exception) or MIT" @@ -11,10 +11,10 @@ readme = "README.md" edition = "2018" [dependencies] -wasm-common = { path = "../wasm-common", version = "0.16.2" } -wasmer-compiler = { path = "../compiler", version = "0.16.2", default-features = false } -wasmer-runtime = { path = "../runtime", version = "0.16.2" } -wasmer-engine = { path = "../engine", version = "0.16.2" } +wasm-common = { path = "../wasm-common", version = "1.0.0" } +wasmer-compiler = { path = "../compiler", version = "1.0.0", default-features = false } +wasmer-runtime = { path = "../runtime", version = "1.0.0" } +wasmer-engine = { path = "../engine", version = "1.0.0" } # flexbuffers = { path = "../../../flatbuffers/rust/flexbuffers", version = "0.1.0" } region = "2.1" serde = { version = "1.0", features = ["derive", "rc"] } diff --git a/lib/engine-native/Cargo.toml b/lib/engine-native/Cargo.toml index 24e0d43e2..52f4cd77c 100644 --- a/lib/engine-native/Cargo.toml +++ b/lib/engine-native/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasmer-engine-native" -version = "0.16.2" +version = "1.0.0" authors = ["Wasmer Engineering Team "] description = "Wasmer JIT Engine" license = "(Apache-2.0 WITH LLVM-exception) or MIT" @@ -11,10 +11,10 @@ readme = "README.md" edition = "2018" [dependencies] -wasm-common = { path = "../wasm-common", version = "0.16.2" } -wasmer-compiler = { path = "../compiler", version = "0.16.2", default-features = false } -wasmer-runtime = { path = "../runtime", version = "0.16.2" } -wasmer-engine = { path = "../engine", version = "0.16.2" } +wasm-common = { path = "../wasm-common", version = "1.0.0" } +wasmer-compiler = { path = "../compiler", version = "1.0.0", default-features = false } +wasmer-runtime = { path = "../runtime", version = "1.0.0" } +wasmer-engine = { path = "../engine", version = "1.0.0" } faerie = "0.15" serde = { version = "1.0", features = ["derive", "rc"] } serde_bytes = { version = "0.11" } diff --git a/lib/engine/Cargo.toml b/lib/engine/Cargo.toml index daaaf9f00..6e223a3fa 100644 --- a/lib/engine/Cargo.toml +++ b/lib/engine/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasmer-engine" -version = "0.16.2" +version = "1.0.0" authors = ["Wasmer Engineering Team "] description = "Wasmer Engine abstraction" license = "(Apache-2.0 WITH LLVM-exception) or MIT" @@ -11,9 +11,9 @@ readme = "README.md" edition = "2018" [dependencies] -wasm-common = { path = "../wasm-common", version = "0.16.2" } -wasmer-compiler = { path = "../compiler", version = "0.16.2", default-features = false } -wasmer-runtime = { path = "../runtime", version = "0.16.2" } +wasm-common = { path = "../wasm-common", version = "1.0.0" } +wasmer-compiler = { path = "../compiler", version = "1.0.0", default-features = false } +wasmer-runtime = { path = "../runtime", version = "1.0.0" } target-lexicon = { version = "0.10", default-features = false } # flexbuffers = { path = "../../../flatbuffers/rust/flexbuffers", version = "0.1.0" } backtrace = "0.3" diff --git a/lib/runtime/Cargo.toml b/lib/runtime/Cargo.toml index 81a1e9960..712d20f81 100644 --- a/lib/runtime/Cargo.toml +++ b/lib/runtime/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasmer-runtime" -version = "0.16.2" +version = "1.0.0" authors = ["Wasmer Engineering Team "] description = "Runtime library support for Wasmer" license = "MIT OR (Apache-2.0 WITH LLVM-exception)" @@ -11,7 +11,7 @@ readme = "README.md" edition = "2018" [dependencies] -wasm-common = { path = "../wasm-common", version = "0.16.2", features = ["enable-serde"] } +wasm-common = { path = "../wasm-common", version = "1.0.0", features = ["enable-serde"] } region = "2.1" libc = { version = "0.2", default-features = false } memoffset = "0.5" diff --git a/lib/wasi-experimental-io-devices/Cargo.toml b/lib/wasi-experimental-io-devices/Cargo.toml index 208058330..26d445606 100644 --- a/lib/wasi-experimental-io-devices/Cargo.toml +++ b/lib/wasi-experimental-io-devices/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasmer-wasi-experimental-io-devices" -version = "0.16.2" +version = "1.0.0" authors = ["Wasmer Engineering Team "] edition = "2018" repository = "https://github.com/wasmerio/wasmer" @@ -12,7 +12,7 @@ license = "MIT" maintenance = { status = "experimental" } [dependencies] -wasmer-wasi = { version = "0.16.2", path = "../wasi" } +wasmer-wasi = { version = "1.0.0", path = "../wasi" } tracing = "0.1" minifb = "0.16" ref_thread_local = "0.0" diff --git a/lib/wasi/Cargo.toml b/lib/wasi/Cargo.toml index 21faddf94..6843e7ef2 100644 --- a/lib/wasi/Cargo.toml +++ b/lib/wasi/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasmer-wasi" -version = "0.16.2" +version = "1.0.0" description = "Wasmer runtime WASI implementation library" license = "MIT" authors = ["Wasmer Engineering Team "] @@ -20,7 +20,7 @@ getrandom = "0.1" time = "0.1" typetag = "0.1" serde = { version = "1.0", features = ["derive"] } -wasmer = { path = "../api", version = "0.16.2", default-features = false } +wasmer = { path = "../api", version = "1.0.0", default-features = false } [target.'cfg(windows)'.dependencies] winapi = "0.3" diff --git a/lib/wasm-common/Cargo.toml b/lib/wasm-common/Cargo.toml index 852151912..66235fe3e 100644 --- a/lib/wasm-common/Cargo.toml +++ b/lib/wasm-common/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasm-common" -version = "0.16.2" +version = "1.0.0" description = "WebAssembly Common Types" license = "MIT OR (Apache-2.0 WITH LLVM-exception)" authors = ["Wasmer Engineering Team "] diff --git a/scripts/update-version.sh b/scripts/update-version.sh index e12ac547c..96b19af09 100755 --- a/scripts/update-version.sh +++ b/scripts/update-version.sh @@ -1,6 +1,6 @@ # A script to update the version of all the crates at the same time -PREVIOUS_VERSION='0.16.2' -NEXT_VERSION='0.17.0' +PREVIOUS_VERSION='1.0.0' +NEXT_VERSION='1.0.0' # quick hack fd Cargo.toml --exec sed -i '' "s/version = \"$PREVIOUS_VERSION\"/version = \"$NEXT_VERSION\"/" diff --git a/src/windows-installer/wasmer.iss b/src/windows-installer/wasmer.iss index 062052d8b..9fc094fec 100644 --- a/src/windows-installer/wasmer.iss +++ b/src/windows-installer/wasmer.iss @@ -1,6 +1,6 @@ [Setup] AppName=Wasmer -AppVersion=0.16.2 +AppVersion=1.0.0 DefaultDirName={pf}\Wasmer DefaultGroupName=Wasmer Compression=lzma2 diff --git a/tests/lib/engine-dummy/Cargo.toml b/tests/lib/engine-dummy/Cargo.toml index 4802d0b5e..17bf2eb96 100644 --- a/tests/lib/engine-dummy/Cargo.toml +++ b/tests/lib/engine-dummy/Cargo.toml @@ -1,16 +1,16 @@ [package] name = "wasmer-engine-dummy" -version = "0.16.2" +version = "1.0.0" authors = ["Wasmer Engineering Team "] description = "wasmer testing utils" edition = "2018" publish = false [dependencies] -wasm-common = { path = "../../../lib/wasm-common", version = "0.16.2" } -wasmer-compiler = { path = "../../../lib/compiler", version = "0.16.2" } -wasmer-runtime = { path = "../../../lib/runtime", version = "0.16.2" } -wasmer-engine = { path = "../../../lib/engine", version = "0.16.2" } +wasm-common = { path = "../../../lib/wasm-common", version = "1.0.0" } +wasmer-compiler = { path = "../../../lib/compiler", version = "1.0.0" } +wasmer-runtime = { path = "../../../lib/runtime", version = "1.0.0" } +wasmer-engine = { path = "../../../lib/engine", version = "1.0.0" } serde = { version = "1.0", features = ["derive", "rc"], optional = true } serde_bytes = { version = "0.11", optional = true } bincode = { version = "1.2", optional = true } diff --git a/tests/lib/test-utils/Cargo.toml b/tests/lib/test-utils/Cargo.toml index 4e47308ce..15af58720 100644 --- a/tests/lib/test-utils/Cargo.toml +++ b/tests/lib/test-utils/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "test-utils" -version = "0.16.2" +version = "1.0.0" authors = ["Wasmer Engineering Team "] description = "wasmer testing utils" edition = "2018" @@ -9,12 +9,12 @@ publish = false # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -wasmer-compiler = { path = "../../../lib/compiler", version = "0.16.2" } -wasmer-compiler-singlepass = { path = "../../../lib/compiler-singlepass", version = "0.16.2", optional = true } -wasmer-compiler-cranelift = { path = "../../../lib/compiler-cranelift", version = "0.16.2", optional = true } -wasmer-compiler-llvm = { path = "../../../lib/compiler-llvm", version = "0.16.2", optional = true } -wasmer-engine-jit = { path = "../../../lib/engine-jit", version = "0.16.2" } -wasmer = { path = "../../../lib/api", version = "0.16.2", default-features = false } +wasmer-compiler = { path = "../../../lib/compiler", version = "1.0.0" } +wasmer-compiler-singlepass = { path = "../../../lib/compiler-singlepass", version = "1.0.0", optional = true } +wasmer-compiler-cranelift = { path = "../../../lib/compiler-cranelift", version = "1.0.0", optional = true } +wasmer-compiler-llvm = { path = "../../../lib/compiler-llvm", version = "1.0.0", optional = true } +wasmer-engine-jit = { path = "../../../lib/engine-jit", version = "1.0.0" } +wasmer = { path = "../../../lib/api", version = "1.0.0", default-features = false } [features] compiler = [] diff --git a/tests/lib/wast/Cargo.toml b/tests/lib/wast/Cargo.toml index bebf3997b..d8ecc61ad 100644 --- a/tests/lib/wast/Cargo.toml +++ b/tests/lib/wast/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasmer-wast" -version = "0.16.2" +version = "1.0.0" authors = ["Wasmer Engineering Team "] description = "wast testing support for wasmer" license = "MIT OR (Apache-2.0 WITH LLVM-exception)" @@ -12,7 +12,7 @@ edition = "2018" [dependencies] anyhow = "1.0" -wasmer = { path = "../../../lib/api", version = "0.16.2", default-features = false } +wasmer = { path = "../../../lib/api", version = "1.0.0", default-features = false } wast = "17.0" thiserror = "1.0"