2018-10-11 19:29:36 +00:00
|
|
|
[package]
|
2020-03-24 00:53:01 +00:00
|
|
|
name = "wasmer-bin"
|
2020-05-11 20:48:41 +00:00
|
|
|
version = "0.17.0"
|
2019-01-18 00:19:31 +00:00
|
|
|
authors = ["The Wasmer Engineering Team <engineering@wasmer.io>"]
|
2018-12-10 23:31:08 +00:00
|
|
|
edition = "2018"
|
2018-11-22 06:15:13 +00:00
|
|
|
repository = "https://github.com/wasmerio/wasmer"
|
2018-10-24 10:56:30 +00:00
|
|
|
publish = true
|
2018-10-24 11:01:23 +00:00
|
|
|
description = "High-Performance WebAssembly JIT interpreter"
|
|
|
|
license = "MIT"
|
2019-11-08 19:35:59 +00:00
|
|
|
default-run = "wasmer"
|
2018-10-24 10:54:45 +00:00
|
|
|
include = [
|
|
|
|
"examples/**/*",
|
|
|
|
"src/**/*",
|
|
|
|
"Cargo.lock",
|
|
|
|
"Cargo.toml",
|
|
|
|
"LICENSE",
|
|
|
|
"Makefile",
|
2018-12-14 02:00:11 +00:00
|
|
|
"/README.md",
|
2018-10-24 10:54:45 +00:00
|
|
|
"rustfmt.toml"
|
|
|
|
]
|
2020-04-16 02:34:25 +00:00
|
|
|
autoexamples = false
|
2018-10-11 19:29:36 +00:00
|
|
|
|
|
|
|
[dependencies]
|
2020-01-14 21:50:48 +00:00
|
|
|
atty = "0.2"
|
2019-09-20 23:08:45 +00:00
|
|
|
byteorder = "1.3"
|
|
|
|
errno = "0.2"
|
2020-01-14 20:35:54 +00:00
|
|
|
fern = { version = "0.5", features = ["colored"], optional = true }
|
|
|
|
log = "0.4"
|
2019-09-20 23:08:45 +00:00
|
|
|
structopt = "0.3"
|
2020-01-28 16:37:43 +00:00
|
|
|
wabt = { version = "0.9.1", optional = true }
|
2020-04-15 23:31:05 +00:00
|
|
|
wasmer = { path = "lib/api", default-features = false }
|
2019-04-28 04:55:07 +00:00
|
|
|
wasmer-middleware-common = { path = "lib/middleware-common" }
|
2020-04-15 23:31:05 +00:00
|
|
|
wasmer-runtime = { path = "lib/runtime", default-features = false }
|
2019-01-22 19:02:06 +00:00
|
|
|
wasmer-runtime-core = { path = "lib/runtime-core" }
|
2020-04-15 23:31:05 +00:00
|
|
|
wasmer-kernel-loader = { path = "lib/kernel-loader", optional = true }
|
|
|
|
|
|
|
|
# Backends
|
|
|
|
wasmer-singlepass-backend = { path = "lib/singlepass-backend", optional = true }
|
|
|
|
wasmer-clif-backend = { path = "lib/clif-backend", optional = true }
|
2019-03-11 16:57:06 +00:00
|
|
|
wasmer-llvm-backend = { path = "lib/llvm-backend", optional = true }
|
2020-04-15 23:31:05 +00:00
|
|
|
|
|
|
|
# Frontends
|
|
|
|
wasmer-emscripten = { path = "lib/emscripten" }
|
2019-03-28 19:19:23 +00:00
|
|
|
wasmer-wasi = { path = "lib/wasi", optional = true }
|
2019-12-18 19:10:54 +00:00
|
|
|
wasmer-wasi-experimental-io-devices = { path = "lib/wasi-experimental-io-devices", optional = true }
|
2019-03-08 02:26:29 +00:00
|
|
|
|
2019-01-10 02:06:33 +00:00
|
|
|
[workspace]
|
2019-05-24 18:00:57 +00:00
|
|
|
members = [
|
2020-03-24 00:53:01 +00:00
|
|
|
"lib/api",
|
2019-05-24 18:00:57 +00:00
|
|
|
"lib/clif-backend",
|
|
|
|
"lib/singlepass-backend",
|
|
|
|
"lib/runtime",
|
|
|
|
"lib/runtime-core",
|
|
|
|
"lib/emscripten",
|
|
|
|
"lib/win-exception-handler",
|
|
|
|
"lib/runtime-c-api",
|
|
|
|
"lib/llvm-backend",
|
|
|
|
"lib/wasi",
|
|
|
|
"lib/middleware-common",
|
|
|
|
"lib/kernel-loader",
|
|
|
|
"lib/kernel-net",
|
2019-12-18 19:10:54 +00:00
|
|
|
"lib/wasi-experimental-io-devices",
|
2019-09-26 00:10:40 +00:00
|
|
|
"examples/parallel",
|
2019-11-21 18:57:04 +00:00
|
|
|
"examples/plugin-for-example",
|
2019-09-26 00:10:40 +00:00
|
|
|
"examples/parallel-guest",
|
2020-04-14 18:41:12 +00:00
|
|
|
"tests/test-generator",
|
2020-04-02 00:09:51 +00:00
|
|
|
"tests/generate-wasi-tests",
|
2020-04-02 23:51:58 +00:00
|
|
|
"tests/generate-emscripten-tests",
|
2020-04-14 18:41:12 +00:00
|
|
|
"tests/wast",
|
2019-05-24 18:00:57 +00:00
|
|
|
]
|
2019-01-10 02:06:33 +00:00
|
|
|
|
2018-10-18 23:29:12 +00:00
|
|
|
[build-dependencies]
|
2020-04-14 18:41:12 +00:00
|
|
|
anyhow = "1.0.19"
|
2020-04-02 23:51:58 +00:00
|
|
|
generate-emscripten-tests = { path = "tests/generate-emscripten-tests" }
|
2020-04-02 00:09:51 +00:00
|
|
|
generate-wasi-tests = { path = "tests/generate-wasi-tests" }
|
2020-04-14 18:41:12 +00:00
|
|
|
test-generator = { path = "tests/test-generator" }
|
2019-09-20 23:08:45 +00:00
|
|
|
glob = "0.3"
|
|
|
|
rustc_version = "0.2"
|
2018-10-16 09:18:58 +00:00
|
|
|
|
2019-08-28 21:47:38 +00:00
|
|
|
[dev-dependencies]
|
2020-04-14 18:41:12 +00:00
|
|
|
anyhow = "1.0.19"
|
|
|
|
wasmer-wast = { path = "tests/wast" }
|
2020-04-16 01:25:57 +00:00
|
|
|
lazy_static = "1.4"
|
2020-04-16 18:38:36 +00:00
|
|
|
# To allow parameterized tests
|
2020-04-15 23:31:05 +00:00
|
|
|
test-case = "1.0.0"
|
2020-04-02 00:09:51 +00:00
|
|
|
criterion = "0.3"
|
|
|
|
glob = "0.3"
|
2020-04-08 18:59:47 +00:00
|
|
|
libc = "0.2.60" # for `tests/dev-utils`'s Stdout capturing
|
2019-08-28 21:47:38 +00:00
|
|
|
serde = { version = "1", features = ["derive"] } # used by the plugin example
|
2020-04-15 23:31:05 +00:00
|
|
|
serde_json = "1"
|
2019-08-28 21:47:38 +00:00
|
|
|
typetag = "0.1" # used by the plugin example
|
2020-04-02 00:09:51 +00:00
|
|
|
wabt = "0.9.1"
|
2018-10-16 09:18:58 +00:00
|
|
|
|
2018-10-15 00:48:59 +00:00
|
|
|
[features]
|
2020-04-15 23:31:05 +00:00
|
|
|
# Don't add the backend features in default, please add them on the Makefile
|
|
|
|
# since we might want to autoconfigure them depending on the availability on the host.
|
|
|
|
default = ["wasi", "wabt"]
|
2020-04-16 18:52:11 +00:00
|
|
|
loader-kernel = ["wasmer-kernel-loader"]
|
2020-01-14 20:52:39 +00:00
|
|
|
debug = ["fern", "log/max_level_debug", "log/release_max_level_debug"]
|
|
|
|
trace = ["fern", "log/max_level_trace", "log/release_max_level_trace"]
|
2019-11-22 02:35:19 +00:00
|
|
|
docs = ["wasmer-runtime/docs"]
|
2019-07-30 06:59:21 +00:00
|
|
|
backend-cranelift = [
|
2019-11-21 15:37:17 +00:00
|
|
|
"wasmer-clif-backend",
|
2020-02-19 23:53:36 +00:00
|
|
|
"wasmer-clif-backend/generate-debug-information",
|
2020-02-27 03:07:30 +00:00
|
|
|
"wasmer-runtime-core/generate-debug-information",
|
2019-07-30 06:59:21 +00:00
|
|
|
"wasmer-runtime/cranelift",
|
2020-04-09 21:37:21 +00:00
|
|
|
"wasmer/cranelift",
|
2019-07-30 06:59:21 +00:00
|
|
|
]
|
|
|
|
backend-llvm = [
|
|
|
|
"wasmer-llvm-backend",
|
|
|
|
"wasmer-runtime/llvm",
|
2020-04-09 21:37:21 +00:00
|
|
|
"wasmer-runtime-core/generate-debug-information-no-export-symbols",
|
|
|
|
"wasmer/llvm",
|
2019-07-30 06:59:21 +00:00
|
|
|
]
|
|
|
|
backend-singlepass = [
|
|
|
|
"wasmer-singlepass-backend",
|
|
|
|
"wasmer-runtime/singlepass",
|
2020-04-09 21:37:21 +00:00
|
|
|
"wasmer/singlepass",
|
2019-07-30 06:59:21 +00:00
|
|
|
]
|
2019-03-29 18:07:57 +00:00
|
|
|
wasi = ["wasmer-wasi"]
|
2019-12-18 19:10:54 +00:00
|
|
|
experimental-io-devices = ["wasmer-wasi-experimental-io-devices"]
|
2019-08-09 18:32:33 +00:00
|
|
|
managed = ["backend-singlepass", "wasmer-runtime-core/managed"]
|
2019-04-27 01:45:18 +00:00
|
|
|
|
|
|
|
[[example]]
|
|
|
|
name = "plugin"
|
2020-04-16 02:34:25 +00:00
|
|
|
required-features = ["wasi", "backend-cranelift"]
|
2019-04-29 15:09:42 +00:00
|
|
|
crate-type = ["bin"]
|
2019-09-18 23:43:47 +00:00
|
|
|
|
|
|
|
[[example]]
|
|
|
|
name = "callback"
|
2020-04-07 00:14:27 +00:00
|
|
|
crate-type = ["bin"]
|
2020-04-16 02:34:25 +00:00
|
|
|
required-features = ["backend-cranelift"]
|