2018-10-11 21:29:36 +02:00
|
|
|
[package]
|
|
|
|
name = "wasmer"
|
2019-07-23 11:20:59 -07:00
|
|
|
version = "0.5.7"
|
2019-01-17 16:19:31 -08:00
|
|
|
authors = ["The Wasmer Engineering Team <engineering@wasmer.io>"]
|
2018-12-10 18:31:08 -05:00
|
|
|
edition = "2018"
|
2018-11-21 22:15:13 -08:00
|
|
|
repository = "https://github.com/wasmerio/wasmer"
|
2018-10-24 12:56:30 +02:00
|
|
|
publish = true
|
2018-10-24 13:01:23 +02:00
|
|
|
description = "High-Performance WebAssembly JIT interpreter"
|
|
|
|
license = "MIT"
|
2018-10-24 12:54:45 +02:00
|
|
|
include = [
|
|
|
|
"examples/**/*",
|
|
|
|
"src/**/*",
|
|
|
|
"Cargo.lock",
|
|
|
|
"Cargo.toml",
|
|
|
|
"LICENSE",
|
|
|
|
"Makefile",
|
2018-12-13 20:00:11 -06:00
|
|
|
"/README.md",
|
2018-10-24 12:54:45 +02:00
|
|
|
"rustfmt.toml"
|
|
|
|
]
|
2018-10-11 21:29:36 +02:00
|
|
|
|
|
|
|
[dependencies]
|
2019-05-05 09:32:35 -07:00
|
|
|
byteorder = "1.3.1"
|
2019-03-23 00:27:55 -07:00
|
|
|
errno = "0.2.4"
|
2018-10-11 21:29:36 +02:00
|
|
|
structopt = "0.2.11"
|
2019-07-24 10:03:08 -07:00
|
|
|
wabt = "0.9.0"
|
2019-03-26 16:41:40 -07:00
|
|
|
hashbrown = "0.1.8"
|
2019-01-09 00:49:11 -06:00
|
|
|
wasmer-clif-backend = { path = "lib/clif-backend" }
|
2019-04-11 12:44:03 -07:00
|
|
|
wasmer-singlepass-backend = { path = "lib/singlepass-backend", optional = true }
|
2019-04-28 12:55:07 +08:00
|
|
|
wasmer-middleware-common = { path = "lib/middleware-common" }
|
2019-01-09 00:49:11 -06:00
|
|
|
wasmer-runtime = { path = "lib/runtime" }
|
2019-05-24 11:00:57 -07:00
|
|
|
# wasmer-runtime-abi = { path = "lib/runtime-abi", optional = true }
|
2019-01-22 13:02:06 -06:00
|
|
|
wasmer-runtime-core = { path = "lib/runtime-core" }
|
2019-01-10 21:37:59 -08:00
|
|
|
wasmer-emscripten = { path = "lib/emscripten" }
|
2019-03-11 09:57:06 -07:00
|
|
|
wasmer-llvm-backend = { path = "lib/llvm-backend", optional = true }
|
2019-03-28 12:19:23 -07:00
|
|
|
wasmer-wasi = { path = "lib/wasi", optional = true }
|
2019-05-15 21:43:19 +08:00
|
|
|
wasmer-kernel-loader = { path = "lib/kernel-loader", optional = true }
|
2019-05-17 15:48:30 -07:00
|
|
|
wasmer-dev-utils = { path = "lib/dev-utils", optional = true }
|
2019-07-09 11:58:03 -07:00
|
|
|
wasmer-wasi-tests = { path = "lib/wasi-tests", optional = true }
|
2019-07-09 12:07:05 -07:00
|
|
|
wasmer-emscripten-tests = { path = "lib/emscripten-tests", optional = true }
|
2019-03-07 18:26:29 -08:00
|
|
|
|
2019-01-09 20:06:33 -06:00
|
|
|
[workspace]
|
2019-05-24 11:00:57 -07:00
|
|
|
members = [
|
|
|
|
"lib/clif-backend",
|
|
|
|
"lib/singlepass-backend",
|
|
|
|
"lib/runtime",
|
|
|
|
# "lib/runtime-abi",
|
|
|
|
"lib/runtime-core",
|
|
|
|
"lib/emscripten",
|
|
|
|
"lib/spectests",
|
|
|
|
"lib/win-exception-handler",
|
|
|
|
"lib/runtime-c-api",
|
|
|
|
"lib/llvm-backend",
|
|
|
|
"lib/wasi",
|
|
|
|
"lib/middleware-common",
|
|
|
|
"lib/kernel-loader",
|
|
|
|
"lib/kernel-net",
|
|
|
|
"lib/dev-utils",
|
2019-07-09 11:58:03 -07:00
|
|
|
"lib/wasi-tests",
|
2019-07-09 12:07:05 -07:00
|
|
|
"lib/emscripten-tests",
|
2019-05-24 11:00:57 -07:00
|
|
|
"examples/plugin-for-example"
|
|
|
|
]
|
2019-01-09 20:06:33 -06:00
|
|
|
|
2018-10-19 01:29:12 +02:00
|
|
|
[build-dependencies]
|
2019-07-24 10:03:08 -07:00
|
|
|
wabt = "0.9.0"
|
2018-12-27 01:43:38 -06:00
|
|
|
glob = "0.2.11"
|
2019-04-11 15:31:02 -07:00
|
|
|
rustc_version = "0.2.3"
|
2018-10-16 11:18:58 +02:00
|
|
|
|
2018-10-15 02:48:59 +02:00
|
|
|
[features]
|
2019-07-24 17:31:59 -07:00
|
|
|
default = ["fast-tests", "wasi", "backend-cranelift"]
|
2019-07-12 23:02:57 -05:00
|
|
|
"loader-kernel" = ["wasmer-kernel-loader"]
|
2019-05-05 11:21:28 -07:00
|
|
|
debug = ["wasmer-runtime-core/debug"]
|
2019-05-15 11:46:17 -07:00
|
|
|
trace = ["wasmer-runtime-core/trace"]
|
2019-05-05 12:17:10 -07:00
|
|
|
extra-debug = ["wasmer-clif-backend/debug", "wasmer-runtime-core/debug"]
|
2018-10-30 17:35:11 +01:00
|
|
|
# This feature will allow cargo test to run much faster
|
|
|
|
fast-tests = []
|
2019-07-30 15:59:21 +09:00
|
|
|
backend-cranelift = [
|
|
|
|
"wasmer-runtime-core/backend-cranelift",
|
|
|
|
"wasmer-runtime/cranelift",
|
|
|
|
"wasmer-middleware-common/clif"
|
|
|
|
]
|
|
|
|
backend-llvm = [
|
|
|
|
"wasmer-llvm-backend",
|
|
|
|
"wasmer-runtime-core/backend-llvm",
|
|
|
|
"wasmer-runtime/llvm",
|
|
|
|
"wasmer-middleware-common/llvm"
|
|
|
|
]
|
|
|
|
backend-singlepass = [
|
|
|
|
"wasmer-singlepass-backend",
|
|
|
|
"wasmer-runtime-core/backend-singlepass",
|
|
|
|
"wasmer-runtime/singlepass",
|
|
|
|
"wasmer-middleware-common/singlepass"
|
|
|
|
]
|
2019-03-29 11:07:57 -07:00
|
|
|
wasi = ["wasmer-wasi"]
|
2019-05-24 11:00:57 -07:00
|
|
|
# vfs = ["wasmer-runtime-abi"]
|
2019-04-26 18:45:18 -07:00
|
|
|
|
|
|
|
[[example]]
|
|
|
|
name = "plugin"
|
2019-04-29 08:09:42 -07:00
|
|
|
crate-type = ["bin"]
|