2018-10-11 19:29:36 +00:00
|
|
|
[package]
|
|
|
|
name = "wasmer"
|
2020-01-16 22:07:18 +00:00
|
|
|
version = "0.13.1"
|
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"
|
|
|
|
]
|
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"
|
2019-08-12 21:35:32 +00:00
|
|
|
wabt = "0.9.1"
|
2019-11-21 15:31:10 +00:00
|
|
|
wasmer-clif-backend = { path = "lib/clif-backend", optional = true }
|
2019-04-11 19:44:03 +00:00
|
|
|
wasmer-singlepass-backend = { path = "lib/singlepass-backend", optional = true }
|
2019-04-28 04:55:07 +00:00
|
|
|
wasmer-middleware-common = { path = "lib/middleware-common" }
|
2019-01-09 06:49:11 +00:00
|
|
|
wasmer-runtime = { path = "lib/runtime" }
|
2019-01-22 19:02:06 +00:00
|
|
|
wasmer-runtime-core = { path = "lib/runtime-core" }
|
2019-01-11 05:37:59 +00:00
|
|
|
wasmer-emscripten = { path = "lib/emscripten" }
|
2019-03-11 16:57:06 +00:00
|
|
|
wasmer-llvm-backend = { path = "lib/llvm-backend", optional = true }
|
2019-03-28 19:19:23 +00:00
|
|
|
wasmer-wasi = { path = "lib/wasi", optional = true }
|
2019-05-15 13:43:19 +00:00
|
|
|
wasmer-kernel-loader = { path = "lib/kernel-loader", optional = true }
|
2019-05-17 22:48:30 +00:00
|
|
|
wasmer-dev-utils = { path = "lib/dev-utils", optional = true }
|
2019-07-09 18:58:03 +00:00
|
|
|
wasmer-wasi-tests = { path = "lib/wasi-tests", optional = true }
|
2019-08-29 18:14:57 +00:00
|
|
|
wasmer-middleware-common-tests = { path = "lib/middleware-common-tests", optional = true }
|
2019-07-09 19:07:05 +00:00
|
|
|
wasmer-emscripten-tests = { path = "lib/emscripten-tests", 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 = [
|
|
|
|
"lib/clif-backend",
|
|
|
|
"lib/singlepass-backend",
|
|
|
|
"lib/runtime",
|
|
|
|
"lib/runtime-core",
|
2019-10-30 12:28:01 +00:00
|
|
|
"lib/runtime-core-tests",
|
2019-05-24 18:00:57 +00:00
|
|
|
"lib/emscripten",
|
|
|
|
"lib/spectests",
|
|
|
|
"lib/win-exception-handler",
|
|
|
|
"lib/runtime-c-api",
|
|
|
|
"lib/llvm-backend",
|
2019-11-23 00:33:16 +00:00
|
|
|
"lib/llvm-backend-tests",
|
2019-05-24 18:00:57 +00:00
|
|
|
"lib/wasi",
|
|
|
|
"lib/middleware-common",
|
|
|
|
"lib/kernel-loader",
|
|
|
|
"lib/kernel-net",
|
|
|
|
"lib/dev-utils",
|
2019-12-18 19:10:54 +00:00
|
|
|
"lib/wasi-experimental-io-devices",
|
2019-07-09 18:58:03 +00:00
|
|
|
"lib/wasi-tests",
|
2019-07-09 19:07:05 +00:00
|
|
|
"lib/emscripten-tests",
|
2019-08-29 18:14:57 +00:00
|
|
|
"lib/middleware-common-tests",
|
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",
|
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]
|
2019-08-12 21:35:32 +00:00
|
|
|
wabt = "0.9.1"
|
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]
|
|
|
|
serde = { version = "1", features = ["derive"] } # used by the plugin example
|
|
|
|
typetag = "0.1" # used by the plugin example
|
2018-10-16 09:18:58 +00:00
|
|
|
|
2018-10-15 00:48:59 +00:00
|
|
|
[features]
|
2019-12-02 23:34:40 +00:00
|
|
|
default = ["fast-tests", "wasi", "backend-cranelift"]
|
2019-07-13 04:02:57 +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"]
|
2018-10-30 16:35:11 +00:00
|
|
|
# This feature will allow cargo test to run much faster
|
|
|
|
fast-tests = []
|
2019-07-30 06:59:21 +00:00
|
|
|
backend-cranelift = [
|
2019-11-21 15:37:17 +00:00
|
|
|
"wasmer-clif-backend",
|
2019-07-30 06:59:21 +00:00
|
|
|
"wasmer-runtime/cranelift",
|
2019-08-29 18:14:57 +00:00
|
|
|
"wasmer-middleware-common-tests/clif",
|
2019-07-30 06:59:21 +00:00
|
|
|
]
|
|
|
|
backend-llvm = [
|
|
|
|
"wasmer-llvm-backend",
|
|
|
|
"wasmer-runtime/llvm",
|
2019-08-29 18:14:57 +00:00
|
|
|
"wasmer-middleware-common-tests/llvm",
|
2019-07-30 06:59:21 +00:00
|
|
|
]
|
|
|
|
backend-singlepass = [
|
|
|
|
"wasmer-singlepass-backend",
|
|
|
|
"wasmer-runtime/singlepass",
|
2019-08-29 18:14:57 +00:00
|
|
|
"wasmer-middleware-common-tests/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"
|
2019-04-29 15:09:42 +00:00
|
|
|
crate-type = ["bin"]
|
2019-09-18 23:43:47 +00:00
|
|
|
|
|
|
|
[[example]]
|
|
|
|
name = "callback"
|
|
|
|
crate-type = ["bin"]
|