mirror of
https://github.com/mii443/wasmer.git
synced 2025-12-06 12:48:20 +00:00
Updated Wasmer versions to 1.0
This commit is contained in:
36
Cargo.lock
generated
36
Cargo.lock
generated
@@ -1805,7 +1805,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "test-utils"
|
name = "test-utils"
|
||||||
version = "0.16.2"
|
version = "1.0.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"wasmer",
|
"wasmer",
|
||||||
"wasmer-compiler",
|
"wasmer-compiler",
|
||||||
@@ -2058,7 +2058,7 @@ checksum = "c9ba19973a58daf4db6f352eda73dc0e289493cd29fb2632eb172085b6521acd"
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "wasm-common"
|
name = "wasm-common"
|
||||||
version = "0.16.2"
|
version = "1.0.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"cranelift-entity",
|
"cranelift-entity",
|
||||||
"serde",
|
"serde",
|
||||||
@@ -2066,7 +2066,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "wasmer"
|
name = "wasmer"
|
||||||
version = "0.16.2"
|
version = "1.0.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anyhow",
|
"anyhow",
|
||||||
"cfg-if",
|
"cfg-if",
|
||||||
@@ -2092,7 +2092,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "wasmer-bin"
|
name = "wasmer-bin"
|
||||||
version = "0.16.2"
|
version = "1.0.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anyhow",
|
"anyhow",
|
||||||
"atty",
|
"atty",
|
||||||
@@ -2126,7 +2126,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "wasmer-c-api"
|
name = "wasmer-c-api"
|
||||||
version = "0.16.2"
|
version = "1.0.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"cbindgen",
|
"cbindgen",
|
||||||
"cfg-if",
|
"cfg-if",
|
||||||
@@ -2142,7 +2142,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "wasmer-cache"
|
name = "wasmer-cache"
|
||||||
version = "0.16.2"
|
version = "1.0.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"blake3",
|
"blake3",
|
||||||
"hex",
|
"hex",
|
||||||
@@ -2153,7 +2153,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "wasmer-compiler"
|
name = "wasmer-compiler"
|
||||||
version = "0.16.2"
|
version = "1.0.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"enumset",
|
"enumset",
|
||||||
"hashbrown",
|
"hashbrown",
|
||||||
@@ -2169,7 +2169,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "wasmer-compiler-cranelift"
|
name = "wasmer-compiler-cranelift"
|
||||||
version = "0.16.2"
|
version = "1.0.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"cranelift-codegen",
|
"cranelift-codegen",
|
||||||
"cranelift-frontend",
|
"cranelift-frontend",
|
||||||
@@ -2187,7 +2187,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "wasmer-compiler-llvm"
|
name = "wasmer-compiler-llvm"
|
||||||
version = "0.16.2"
|
version = "1.0.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"byteorder",
|
"byteorder",
|
||||||
"cc",
|
"cc",
|
||||||
@@ -2209,7 +2209,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "wasmer-compiler-singlepass"
|
name = "wasmer-compiler-singlepass"
|
||||||
version = "0.16.2"
|
version = "1.0.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"byteorder",
|
"byteorder",
|
||||||
"dynasm",
|
"dynasm",
|
||||||
@@ -2227,7 +2227,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "wasmer-engine"
|
name = "wasmer-engine"
|
||||||
version = "0.16.2"
|
version = "1.0.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"backtrace",
|
"backtrace",
|
||||||
"bincode",
|
"bincode",
|
||||||
@@ -2247,7 +2247,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "wasmer-engine-dummy"
|
name = "wasmer-engine-dummy"
|
||||||
version = "0.16.2"
|
version = "1.0.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"bincode",
|
"bincode",
|
||||||
"serde",
|
"serde",
|
||||||
@@ -2260,7 +2260,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "wasmer-engine-jit"
|
name = "wasmer-engine-jit"
|
||||||
version = "0.16.2"
|
version = "1.0.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"bincode",
|
"bincode",
|
||||||
"region",
|
"region",
|
||||||
@@ -2275,7 +2275,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "wasmer-engine-native"
|
name = "wasmer-engine-native"
|
||||||
version = "0.16.2"
|
version = "1.0.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"bincode",
|
"bincode",
|
||||||
"cfg-if",
|
"cfg-if",
|
||||||
@@ -2294,7 +2294,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "wasmer-runtime"
|
name = "wasmer-runtime"
|
||||||
version = "0.16.2"
|
version = "1.0.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"backtrace",
|
"backtrace",
|
||||||
"cc",
|
"cc",
|
||||||
@@ -2312,7 +2312,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "wasmer-wasi"
|
name = "wasmer-wasi"
|
||||||
version = "0.16.2"
|
version = "1.0.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"bincode",
|
"bincode",
|
||||||
"byteorder",
|
"byteorder",
|
||||||
@@ -2330,7 +2330,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "wasmer-wasi-experimental-io-devices"
|
name = "wasmer-wasi-experimental-io-devices"
|
||||||
version = "0.16.2"
|
version = "1.0.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"minifb",
|
"minifb",
|
||||||
"ref_thread_local",
|
"ref_thread_local",
|
||||||
@@ -2342,7 +2342,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "wasmer-wast"
|
name = "wasmer-wast"
|
||||||
version = "0.16.2"
|
version = "1.0.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anyhow",
|
"anyhow",
|
||||||
"thiserror",
|
"thiserror",
|
||||||
|
|||||||
30
Cargo.toml
30
Cargo.toml
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "wasmer-bin"
|
name = "wasmer-bin"
|
||||||
version = "0.16.2"
|
version = "1.0.0"
|
||||||
authors = ["The Wasmer Engineering Team <engineering@wasmer.io>"]
|
authors = ["The Wasmer Engineering Team <engineering@wasmer.io>"]
|
||||||
repository = "https://github.com/wasmerio/wasmer"
|
repository = "https://github.com/wasmerio/wasmer"
|
||||||
description = "High-Performance WebAssembly Framework"
|
description = "High-Performance WebAssembly Framework"
|
||||||
@@ -25,20 +25,20 @@ path = "src/bin/wasmer.rs"
|
|||||||
doc = false
|
doc = false
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
wasmer = { version = "0.16.2", path = "lib/api", default-features = false }
|
wasmer = { version = "1.0.0", path = "lib/api", default-features = false }
|
||||||
wasmer-compiler = { version = "0.16.2", path = "lib/compiler" }
|
wasmer-compiler = { version = "1.0.0", path = "lib/compiler" }
|
||||||
wasmer-compiler-cranelift = { version = "0.16.2", path = "lib/compiler-cranelift", optional = true }
|
wasmer-compiler-cranelift = { version = "1.0.0", path = "lib/compiler-cranelift", optional = true }
|
||||||
wasmer-compiler-singlepass = { version = "0.16.2", path = "lib/compiler-singlepass", optional = true }
|
wasmer-compiler-singlepass = { version = "1.0.0", path = "lib/compiler-singlepass", optional = true }
|
||||||
wasmer-compiler-llvm = { version = "0.16.2", path = "lib/compiler-llvm", optional = true }
|
wasmer-compiler-llvm = { version = "1.0.0", path = "lib/compiler-llvm", optional = true }
|
||||||
#wasmer-emscripten = { version = "0.16.2", path = "lib/emscripten", optional = true }
|
#wasmer-emscripten = { version = "1.0.0", path = "lib/emscripten", optional = true }
|
||||||
wasmer-engine = { version = "0.16.2", path = "lib/engine" }
|
wasmer-engine = { version = "1.0.0", path = "lib/engine" }
|
||||||
wasmer-engine-jit = { version = "0.16.2", path = "lib/engine-jit", optional = true }
|
wasmer-engine-jit = { version = "1.0.0", path = "lib/engine-jit", optional = true }
|
||||||
wasmer-engine-native = { version = "0.16.2", path = "lib/engine-native", optional = true }
|
wasmer-engine-native = { version = "1.0.0", path = "lib/engine-native", optional = true }
|
||||||
wasmer-wasi = { version = "0.16.2", path = "lib/wasi", optional = true }
|
wasmer-wasi = { version = "1.0.0", path = "lib/wasi", optional = true }
|
||||||
wasmer-wasi-experimental-io-devices = { version = "0.16.2", path = "lib/wasi-experimental-io-devices", optional = true }
|
wasmer-wasi-experimental-io-devices = { version = "1.0.0", path = "lib/wasi-experimental-io-devices", optional = true }
|
||||||
wasmer-wast = { version = "0.16.2", path = "tests/lib/wast", optional = true }
|
wasmer-wast = { version = "1.0.0", path = "tests/lib/wast", optional = true }
|
||||||
wasmer-cache = { version = "0.16.2", path = "lib/cache", optional = true }
|
wasmer-cache = { version = "1.0.0", path = "lib/cache", optional = true }
|
||||||
wasm-common = { version = "0.16.2", path = "lib/wasm-common" }
|
wasm-common = { version = "1.0.0", path = "lib/wasm-common" }
|
||||||
atty = "0.2"
|
atty = "0.2"
|
||||||
colored = "1.9"
|
colored = "1.9"
|
||||||
anyhow = "1.0"
|
anyhow = "1.0"
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "wasmer"
|
name = "wasmer"
|
||||||
version = "0.16.2"
|
version = "1.0.0"
|
||||||
authors = ["Wasmer Engineering Team <engineering@wasmer.io>"]
|
authors = ["Wasmer Engineering Team <engineering@wasmer.io>"]
|
||||||
description = "Wasmer runtime API"
|
description = "Wasmer runtime API"
|
||||||
license = "(Apache-2.0 WITH LLVM-exception) OR MIT"
|
license = "(Apache-2.0 WITH LLVM-exception) OR MIT"
|
||||||
@@ -9,15 +9,15 @@ readme = "README.md"
|
|||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
wasmer-runtime = { path = "../runtime", version = "0.16.2" }
|
wasmer-runtime = { path = "../runtime", version = "1.0.0" }
|
||||||
wasmer-compiler-singlepass = { path = "../compiler-singlepass", version = "0.16.2", optional = true }
|
wasmer-compiler-singlepass = { path = "../compiler-singlepass", version = "1.0.0", optional = true }
|
||||||
wasmer-compiler-cranelift = { path = "../compiler-cranelift", version = "0.16.2", optional = true }
|
wasmer-compiler-cranelift = { path = "../compiler-cranelift", version = "1.0.0", optional = true }
|
||||||
wasmer-compiler-llvm = { path = "../compiler-llvm", version = "0.16.2", optional = true }
|
wasmer-compiler-llvm = { path = "../compiler-llvm", version = "1.0.0", optional = true }
|
||||||
wasmer-compiler = { path = "../compiler", version = "0.16.2" }
|
wasmer-compiler = { path = "../compiler", version = "1.0.0" }
|
||||||
wasmer-engine = { path = "../engine", version = "0.16.2" }
|
wasmer-engine = { path = "../engine", version = "1.0.0" }
|
||||||
wasmer-engine-jit = { path = "../engine-jit", version = "0.16.2", optional = true }
|
wasmer-engine-jit = { path = "../engine-jit", version = "1.0.0", optional = true }
|
||||||
wasmer-engine-native = { path = "../engine-native", version = "0.16.2", optional = true }
|
wasmer-engine-native = { path = "../engine-native", version = "1.0.0", optional = true }
|
||||||
wasm-common = { path = "../wasm-common", version = "0.16.2" }
|
wasm-common = { path = "../wasm-common", version = "1.0.0" }
|
||||||
indexmap = { version = "1.3", features = ["serde-1"] }
|
indexmap = { version = "1.3", features = ["serde-1"] }
|
||||||
cfg-if = "0.1"
|
cfg-if = "0.1"
|
||||||
wat = { version = "1.0", optional = true }
|
wat = { version = "1.0", optional = true }
|
||||||
@@ -30,7 +30,7 @@ winapi = "0.3"
|
|||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
# for the binary wasmer.rs
|
# 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 }
|
libc = { version = "0.2", default-features = false }
|
||||||
wat = "1.0"
|
wat = "1.0"
|
||||||
tempfile = "3.1"
|
tempfile = "3.1"
|
||||||
|
|||||||
@@ -12,11 +12,11 @@ Add to your `Cargo.toml`
|
|||||||
|
|
||||||
```
|
```
|
||||||
[dependencies]
|
[dependencies]
|
||||||
wasmer = "0.16.2"
|
wasmer = "1.0"
|
||||||
```
|
```
|
||||||
|
|
||||||
```rust
|
```rust
|
||||||
use wasmer::{Instance, Function, Value, imports, DefaultStore as _};
|
use wasmer::{Store, Module, Instance, Value, imports};
|
||||||
|
|
||||||
fn main() -> anyhow::Result<()> {
|
fn main() -> anyhow::Result<()> {
|
||||||
let module_wat = r#"
|
let module_wat = r#"
|
||||||
@@ -28,10 +28,11 @@ fn main() -> anyhow::Result<()> {
|
|||||||
i32.add))
|
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.
|
// The module doesn't import anything, so we create an empty import object.
|
||||||
let import_object = imports! {};
|
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 add_one = instance.exports.get_function("add_one")?;
|
||||||
let result = add_one.call([Value::I32(42)])?;
|
let result = add_one.call([Value::I32(42)])?;
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "wasmer-c-api"
|
name = "wasmer-c-api"
|
||||||
version = "0.16.2"
|
version = "1.0.0"
|
||||||
description = "Wasmer C API library"
|
description = "Wasmer C API library"
|
||||||
documentation = "https://wasmerio.github.io/wasmer/c-api/"
|
documentation = "https://wasmerio.github.io/wasmer/c-api/"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
@@ -23,28 +23,28 @@ thiserror = "1"
|
|||||||
paste = "0.1"
|
paste = "0.1"
|
||||||
# for generating code in the same way thot the wasm-c-api does
|
# 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
|
# 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]
|
[dependencies.wasmer]
|
||||||
default-features = false
|
default-features = false
|
||||||
features = ["compiler", "engine", "jit"]
|
features = ["compiler", "engine", "jit"]
|
||||||
path = "../api"
|
path = "../api"
|
||||||
version = "0.16.2"
|
version = "1.0.0"
|
||||||
|
|
||||||
[dependencies.wasm-common]
|
[dependencies.wasm-common]
|
||||||
default-features = false
|
default-features = false
|
||||||
path = "../wasm-common"
|
path = "../wasm-common"
|
||||||
version = "0.16.2"
|
version = "1.0.0"
|
||||||
|
|
||||||
[dependencies.wasmer-wasi]
|
[dependencies.wasmer-wasi]
|
||||||
default-features = false
|
default-features = false
|
||||||
path = "../wasi"
|
path = "../wasi"
|
||||||
version = "0.16.2"
|
version = "1.0.0"
|
||||||
optional = true
|
optional = true
|
||||||
|
|
||||||
#[dependencies.wasmer-emscripten]
|
#[dependencies.wasmer-emscripten]
|
||||||
#path = "../emscripten"
|
#path = "../emscripten"
|
||||||
#version = "0.16.2"
|
#version = "1.0.0"
|
||||||
#optional = true
|
#optional = true
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
|
|||||||
4
lib/cache/Cargo.toml
vendored
4
lib/cache/Cargo.toml
vendored
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "wasmer-cache"
|
name = "wasmer-cache"
|
||||||
version = "0.16.2"
|
version = "1.0.0"
|
||||||
description = "Cache system for WebAssembly"
|
description = "Cache system for WebAssembly"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
authors = ["Wasmer Engineering Team <engineering@wasmer.io>"]
|
authors = ["Wasmer Engineering Team <engineering@wasmer.io>"]
|
||||||
@@ -11,7 +11,7 @@ keywords = ["webassembly", "wasm", "cache"]
|
|||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
wasmer = { path = "../api", version = "0.16.2", default-features = false }
|
wasmer = { path = "../api", version = "1.0.0", default-features = false }
|
||||||
memmap = "0.7"
|
memmap = "0.7"
|
||||||
hex = "0.4"
|
hex = "0.4"
|
||||||
thiserror = "1"
|
thiserror = "1"
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "wasmer-compiler-cranelift"
|
name = "wasmer-compiler-cranelift"
|
||||||
version = "0.16.2"
|
version = "1.0.0"
|
||||||
authors = ["Wasmer Engineering Team <engineering@wasmer.io>"]
|
authors = ["Wasmer Engineering Team <engineering@wasmer.io>"]
|
||||||
description = "Standalone environment support for WebAsssembly code in Cranelift"
|
description = "Standalone environment support for WebAsssembly code in Cranelift"
|
||||||
license = "MIT OR (Apache-2.0 WITH LLVM-exception)"
|
license = "MIT OR (Apache-2.0 WITH LLVM-exception)"
|
||||||
@@ -12,9 +12,9 @@ readme = "README.md"
|
|||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
wasmer-compiler = { path = "../compiler", version = "0.16.2", features = ["translator"], default-features = false }
|
wasmer-compiler = { path = "../compiler", version = "1.0.0", features = ["translator"], default-features = false }
|
||||||
wasmer-runtime = { path = "../runtime", version = "0.16.2" }
|
wasmer-runtime = { path = "../runtime", version = "1.0.0" }
|
||||||
wasm-common = { path = "../wasm-common", version = "0.16.2", default-features = false }
|
wasm-common = { path = "../wasm-common", version = "1.0.0", default-features = false }
|
||||||
cranelift-codegen = { version = "0.62", default-features = false }
|
cranelift-codegen = { version = "0.62", default-features = false }
|
||||||
cranelift-frontend = { version = "0.62", default-features = false }
|
cranelift-frontend = { version = "0.62", default-features = false }
|
||||||
tracing = "0.1"
|
tracing = "0.1"
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "wasmer-compiler-llvm"
|
name = "wasmer-compiler-llvm"
|
||||||
version = "0.16.2"
|
version = "1.0.0"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
authors = ["Wasmer Engineering Team <engineering@wasmer.io>"]
|
authors = ["Wasmer Engineering Team <engineering@wasmer.io>"]
|
||||||
repository = "https://github.com/wasmerio/wasmer"
|
repository = "https://github.com/wasmerio/wasmer"
|
||||||
@@ -10,9 +10,9 @@ edition = "2018"
|
|||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
wasmer-compiler = { path = "../compiler", version = "0.16.2", features = ["translator"] }
|
wasmer-compiler = { path = "../compiler", version = "1.0.0", features = ["translator"] }
|
||||||
wasmer-runtime = { path = "../runtime", version = "0.16.2" }
|
wasmer-runtime = { path = "../runtime", version = "1.0.0" }
|
||||||
wasm-common = { path = "../wasm-common", version = "0.16.2" }
|
wasm-common = { path = "../wasm-common", version = "1.0.0" }
|
||||||
target-lexicon = { version = "0.10", default-features = false }
|
target-lexicon = { version = "0.10", default-features = false }
|
||||||
smallvec = "1"
|
smallvec = "1"
|
||||||
goblin = "0.2"
|
goblin = "0.2"
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "wasmer-compiler-singlepass"
|
name = "wasmer-compiler-singlepass"
|
||||||
version = "0.16.2"
|
version = "1.0.0"
|
||||||
authors = ["Wasmer Engineering Team <engineering@wasmer.io>"]
|
authors = ["Wasmer Engineering Team <engineering@wasmer.io>"]
|
||||||
description = "Standalone environment support for WebAsssembly code in Singlepass"
|
description = "Standalone environment support for WebAsssembly code in Singlepass"
|
||||||
license = "MIT OR (Apache-2.0 WITH LLVM-exception)"
|
license = "MIT OR (Apache-2.0 WITH LLVM-exception)"
|
||||||
@@ -12,9 +12,9 @@ readme = "README.md"
|
|||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
wasmer-compiler = { path = "../compiler", version = "0.16.2", features = ["translator"], default-features = false }
|
wasmer-compiler = { path = "../compiler", version = "1.0.0", features = ["translator"], default-features = false }
|
||||||
wasmer-runtime = { path = "../runtime", version = "0.16.2" }
|
wasmer-runtime = { path = "../runtime", version = "1.0.0" }
|
||||||
wasm-common = { path = "../wasm-common", version = "0.16.2", default-features = false }
|
wasm-common = { path = "../wasm-common", version = "1.0.0", default-features = false }
|
||||||
rayon = "1.3"
|
rayon = "1.3"
|
||||||
hashbrown = { version = "0.7", optional = true }
|
hashbrown = { version = "0.7", optional = true }
|
||||||
serde = { version = "1.0", features = ["derive"] }
|
serde = { version = "1.0", features = ["derive"] }
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "wasmer-compiler"
|
name = "wasmer-compiler"
|
||||||
version = "0.16.2"
|
version = "1.0.0"
|
||||||
description = "Base compiler abstraction for WebAssembly"
|
description = "Base compiler abstraction for WebAssembly"
|
||||||
license = "MIT OR (Apache-2.0 WITH LLVM-exception)"
|
license = "MIT OR (Apache-2.0 WITH LLVM-exception)"
|
||||||
authors = ["Wasmer Engineering Team <engineering@wasmer.io>"]
|
authors = ["Wasmer Engineering Team <engineering@wasmer.io>"]
|
||||||
@@ -11,8 +11,8 @@ keywords = ["webassembly", "wasm", "compiler"]
|
|||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
wasmer-runtime = { path = "../runtime", version = "0.16.2" }
|
wasmer-runtime = { path = "../runtime", version = "1.0.0" }
|
||||||
wasm-common = { path = "../wasm-common", version = "0.16.2" }
|
wasm-common = { path = "../wasm-common", version = "1.0.0" }
|
||||||
wasmparser = { version = "0.51", optional = true, default-features = false }
|
wasmparser = { version = "0.51", optional = true, default-features = false }
|
||||||
target-lexicon = { version = "0.10", default-features = false }
|
target-lexicon = { version = "0.10", default-features = false }
|
||||||
enumset = "1.0"
|
enumset = "1.0"
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "wasmer-emscripten"
|
name = "wasmer-emscripten"
|
||||||
version = "0.16.2"
|
version = "1.0.0"
|
||||||
description = "Wasmer runtime emscripten implementation library"
|
description = "Wasmer runtime emscripten implementation library"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
authors = ["The Wasmer Engineering Team <engineering@wasmer.io>"]
|
authors = ["The Wasmer Engineering Team <engineering@wasmer.io>"]
|
||||||
@@ -15,7 +15,7 @@ lazy_static = "1.4"
|
|||||||
libc = "0.2.60"
|
libc = "0.2.60"
|
||||||
log = "0.4"
|
log = "0.4"
|
||||||
time = "0.1"
|
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]
|
[target.'cfg(windows)'.dependencies]
|
||||||
getrandom = "0.1"
|
getrandom = "0.1"
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "wasmer-engine-jit"
|
name = "wasmer-engine-jit"
|
||||||
version = "0.16.2"
|
version = "1.0.0"
|
||||||
authors = ["Wasmer Engineering Team <engineering@wasmer.io>"]
|
authors = ["Wasmer Engineering Team <engineering@wasmer.io>"]
|
||||||
description = "Wasmer JIT Engine"
|
description = "Wasmer JIT Engine"
|
||||||
license = "(Apache-2.0 WITH LLVM-exception) or MIT"
|
license = "(Apache-2.0 WITH LLVM-exception) or MIT"
|
||||||
@@ -11,10 +11,10 @@ readme = "README.md"
|
|||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
wasm-common = { path = "../wasm-common", version = "0.16.2" }
|
wasm-common = { path = "../wasm-common", version = "1.0.0" }
|
||||||
wasmer-compiler = { path = "../compiler", version = "0.16.2", default-features = false }
|
wasmer-compiler = { path = "../compiler", version = "1.0.0", default-features = false }
|
||||||
wasmer-runtime = { path = "../runtime", version = "0.16.2" }
|
wasmer-runtime = { path = "../runtime", version = "1.0.0" }
|
||||||
wasmer-engine = { path = "../engine", version = "0.16.2" }
|
wasmer-engine = { path = "../engine", version = "1.0.0" }
|
||||||
# flexbuffers = { path = "../../../flatbuffers/rust/flexbuffers", version = "0.1.0" }
|
# flexbuffers = { path = "../../../flatbuffers/rust/flexbuffers", version = "0.1.0" }
|
||||||
region = "2.1"
|
region = "2.1"
|
||||||
serde = { version = "1.0", features = ["derive", "rc"] }
|
serde = { version = "1.0", features = ["derive", "rc"] }
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "wasmer-engine-native"
|
name = "wasmer-engine-native"
|
||||||
version = "0.16.2"
|
version = "1.0.0"
|
||||||
authors = ["Wasmer Engineering Team <engineering@wasmer.io>"]
|
authors = ["Wasmer Engineering Team <engineering@wasmer.io>"]
|
||||||
description = "Wasmer JIT Engine"
|
description = "Wasmer JIT Engine"
|
||||||
license = "(Apache-2.0 WITH LLVM-exception) or MIT"
|
license = "(Apache-2.0 WITH LLVM-exception) or MIT"
|
||||||
@@ -11,10 +11,10 @@ readme = "README.md"
|
|||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
wasm-common = { path = "../wasm-common", version = "0.16.2" }
|
wasm-common = { path = "../wasm-common", version = "1.0.0" }
|
||||||
wasmer-compiler = { path = "../compiler", version = "0.16.2", default-features = false }
|
wasmer-compiler = { path = "../compiler", version = "1.0.0", default-features = false }
|
||||||
wasmer-runtime = { path = "../runtime", version = "0.16.2" }
|
wasmer-runtime = { path = "../runtime", version = "1.0.0" }
|
||||||
wasmer-engine = { path = "../engine", version = "0.16.2" }
|
wasmer-engine = { path = "../engine", version = "1.0.0" }
|
||||||
faerie = "0.15"
|
faerie = "0.15"
|
||||||
serde = { version = "1.0", features = ["derive", "rc"] }
|
serde = { version = "1.0", features = ["derive", "rc"] }
|
||||||
serde_bytes = { version = "0.11" }
|
serde_bytes = { version = "0.11" }
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "wasmer-engine"
|
name = "wasmer-engine"
|
||||||
version = "0.16.2"
|
version = "1.0.0"
|
||||||
authors = ["Wasmer Engineering Team <engineering@wasmer.io>"]
|
authors = ["Wasmer Engineering Team <engineering@wasmer.io>"]
|
||||||
description = "Wasmer Engine abstraction"
|
description = "Wasmer Engine abstraction"
|
||||||
license = "(Apache-2.0 WITH LLVM-exception) or MIT"
|
license = "(Apache-2.0 WITH LLVM-exception) or MIT"
|
||||||
@@ -11,9 +11,9 @@ readme = "README.md"
|
|||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
wasm-common = { path = "../wasm-common", version = "0.16.2" }
|
wasm-common = { path = "../wasm-common", version = "1.0.0" }
|
||||||
wasmer-compiler = { path = "../compiler", version = "0.16.2", default-features = false }
|
wasmer-compiler = { path = "../compiler", version = "1.0.0", default-features = false }
|
||||||
wasmer-runtime = { path = "../runtime", version = "0.16.2" }
|
wasmer-runtime = { path = "../runtime", version = "1.0.0" }
|
||||||
target-lexicon = { version = "0.10", default-features = false }
|
target-lexicon = { version = "0.10", default-features = false }
|
||||||
# flexbuffers = { path = "../../../flatbuffers/rust/flexbuffers", version = "0.1.0" }
|
# flexbuffers = { path = "../../../flatbuffers/rust/flexbuffers", version = "0.1.0" }
|
||||||
backtrace = "0.3"
|
backtrace = "0.3"
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "wasmer-runtime"
|
name = "wasmer-runtime"
|
||||||
version = "0.16.2"
|
version = "1.0.0"
|
||||||
authors = ["Wasmer Engineering Team <engineering@wasmer.io>"]
|
authors = ["Wasmer Engineering Team <engineering@wasmer.io>"]
|
||||||
description = "Runtime library support for Wasmer"
|
description = "Runtime library support for Wasmer"
|
||||||
license = "MIT OR (Apache-2.0 WITH LLVM-exception)"
|
license = "MIT OR (Apache-2.0 WITH LLVM-exception)"
|
||||||
@@ -11,7 +11,7 @@ readme = "README.md"
|
|||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
|
||||||
[dependencies]
|
[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"
|
region = "2.1"
|
||||||
libc = { version = "0.2", default-features = false }
|
libc = { version = "0.2", default-features = false }
|
||||||
memoffset = "0.5"
|
memoffset = "0.5"
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "wasmer-wasi-experimental-io-devices"
|
name = "wasmer-wasi-experimental-io-devices"
|
||||||
version = "0.16.2"
|
version = "1.0.0"
|
||||||
authors = ["Wasmer Engineering Team <engineering@wasmer.io>"]
|
authors = ["Wasmer Engineering Team <engineering@wasmer.io>"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
repository = "https://github.com/wasmerio/wasmer"
|
repository = "https://github.com/wasmerio/wasmer"
|
||||||
@@ -12,7 +12,7 @@ license = "MIT"
|
|||||||
maintenance = { status = "experimental" }
|
maintenance = { status = "experimental" }
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
wasmer-wasi = { version = "0.16.2", path = "../wasi" }
|
wasmer-wasi = { version = "1.0.0", path = "../wasi" }
|
||||||
tracing = "0.1"
|
tracing = "0.1"
|
||||||
minifb = "0.16"
|
minifb = "0.16"
|
||||||
ref_thread_local = "0.0"
|
ref_thread_local = "0.0"
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "wasmer-wasi"
|
name = "wasmer-wasi"
|
||||||
version = "0.16.2"
|
version = "1.0.0"
|
||||||
description = "Wasmer runtime WASI implementation library"
|
description = "Wasmer runtime WASI implementation library"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
authors = ["Wasmer Engineering Team <engineering@wasmer.io>"]
|
authors = ["Wasmer Engineering Team <engineering@wasmer.io>"]
|
||||||
@@ -20,7 +20,7 @@ getrandom = "0.1"
|
|||||||
time = "0.1"
|
time = "0.1"
|
||||||
typetag = "0.1"
|
typetag = "0.1"
|
||||||
serde = { version = "1.0", features = ["derive"] }
|
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]
|
[target.'cfg(windows)'.dependencies]
|
||||||
winapi = "0.3"
|
winapi = "0.3"
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "wasm-common"
|
name = "wasm-common"
|
||||||
version = "0.16.2"
|
version = "1.0.0"
|
||||||
description = "WebAssembly Common Types"
|
description = "WebAssembly Common Types"
|
||||||
license = "MIT OR (Apache-2.0 WITH LLVM-exception)"
|
license = "MIT OR (Apache-2.0 WITH LLVM-exception)"
|
||||||
authors = ["Wasmer Engineering Team <engineering@wasmer.io>"]
|
authors = ["Wasmer Engineering Team <engineering@wasmer.io>"]
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# A script to update the version of all the crates at the same time
|
# A script to update the version of all the crates at the same time
|
||||||
PREVIOUS_VERSION='0.16.2'
|
PREVIOUS_VERSION='1.0.0'
|
||||||
NEXT_VERSION='0.17.0'
|
NEXT_VERSION='1.0.0'
|
||||||
|
|
||||||
# quick hack
|
# quick hack
|
||||||
fd Cargo.toml --exec sed -i '' "s/version = \"$PREVIOUS_VERSION\"/version = \"$NEXT_VERSION\"/"
|
fd Cargo.toml --exec sed -i '' "s/version = \"$PREVIOUS_VERSION\"/version = \"$NEXT_VERSION\"/"
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[Setup]
|
[Setup]
|
||||||
AppName=Wasmer
|
AppName=Wasmer
|
||||||
AppVersion=0.16.2
|
AppVersion=1.0.0
|
||||||
DefaultDirName={pf}\Wasmer
|
DefaultDirName={pf}\Wasmer
|
||||||
DefaultGroupName=Wasmer
|
DefaultGroupName=Wasmer
|
||||||
Compression=lzma2
|
Compression=lzma2
|
||||||
|
|||||||
@@ -1,16 +1,16 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "wasmer-engine-dummy"
|
name = "wasmer-engine-dummy"
|
||||||
version = "0.16.2"
|
version = "1.0.0"
|
||||||
authors = ["Wasmer Engineering Team <engineering@wasmer.io>"]
|
authors = ["Wasmer Engineering Team <engineering@wasmer.io>"]
|
||||||
description = "wasmer testing utils"
|
description = "wasmer testing utils"
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
publish = false
|
publish = false
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
wasm-common = { path = "../../../lib/wasm-common", version = "0.16.2" }
|
wasm-common = { path = "../../../lib/wasm-common", version = "1.0.0" }
|
||||||
wasmer-compiler = { path = "../../../lib/compiler", version = "0.16.2" }
|
wasmer-compiler = { path = "../../../lib/compiler", version = "1.0.0" }
|
||||||
wasmer-runtime = { path = "../../../lib/runtime", version = "0.16.2" }
|
wasmer-runtime = { path = "../../../lib/runtime", version = "1.0.0" }
|
||||||
wasmer-engine = { path = "../../../lib/engine", version = "0.16.2" }
|
wasmer-engine = { path = "../../../lib/engine", version = "1.0.0" }
|
||||||
serde = { version = "1.0", features = ["derive", "rc"], optional = true }
|
serde = { version = "1.0", features = ["derive", "rc"], optional = true }
|
||||||
serde_bytes = { version = "0.11", optional = true }
|
serde_bytes = { version = "0.11", optional = true }
|
||||||
bincode = { version = "1.2", optional = true }
|
bincode = { version = "1.2", optional = true }
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "test-utils"
|
name = "test-utils"
|
||||||
version = "0.16.2"
|
version = "1.0.0"
|
||||||
authors = ["Wasmer Engineering Team <engineering@wasmer.io>"]
|
authors = ["Wasmer Engineering Team <engineering@wasmer.io>"]
|
||||||
description = "wasmer testing utils"
|
description = "wasmer testing utils"
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
@@ -9,12 +9,12 @@ publish = false
|
|||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
wasmer-compiler = { path = "../../../lib/compiler", version = "0.16.2" }
|
wasmer-compiler = { path = "../../../lib/compiler", version = "1.0.0" }
|
||||||
wasmer-compiler-singlepass = { path = "../../../lib/compiler-singlepass", version = "0.16.2", optional = true }
|
wasmer-compiler-singlepass = { path = "../../../lib/compiler-singlepass", version = "1.0.0", optional = true }
|
||||||
wasmer-compiler-cranelift = { path = "../../../lib/compiler-cranelift", version = "0.16.2", optional = true }
|
wasmer-compiler-cranelift = { path = "../../../lib/compiler-cranelift", version = "1.0.0", optional = true }
|
||||||
wasmer-compiler-llvm = { path = "../../../lib/compiler-llvm", version = "0.16.2", optional = true }
|
wasmer-compiler-llvm = { path = "../../../lib/compiler-llvm", version = "1.0.0", optional = true }
|
||||||
wasmer-engine-jit = { path = "../../../lib/engine-jit", version = "0.16.2" }
|
wasmer-engine-jit = { path = "../../../lib/engine-jit", version = "1.0.0" }
|
||||||
wasmer = { path = "../../../lib/api", version = "0.16.2", default-features = false }
|
wasmer = { path = "../../../lib/api", version = "1.0.0", default-features = false }
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
compiler = []
|
compiler = []
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "wasmer-wast"
|
name = "wasmer-wast"
|
||||||
version = "0.16.2"
|
version = "1.0.0"
|
||||||
authors = ["Wasmer Engineering Team <engineering@wasmer.io>"]
|
authors = ["Wasmer Engineering Team <engineering@wasmer.io>"]
|
||||||
description = "wast testing support for wasmer"
|
description = "wast testing support for wasmer"
|
||||||
license = "MIT OR (Apache-2.0 WITH LLVM-exception)"
|
license = "MIT OR (Apache-2.0 WITH LLVM-exception)"
|
||||||
@@ -12,7 +12,7 @@ edition = "2018"
|
|||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
anyhow = "1.0"
|
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"
|
wast = "17.0"
|
||||||
thiserror = "1.0"
|
thiserror = "1.0"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user