wasmer/Cargo.toml

119 lines
3.4 KiB
TOML
Raw Normal View History

[package]
2020-03-24 00:53:01 +00:00
name = "wasmer-bin"
2020-03-12 02:15:31 +00:00
version = "0.16.2"
authors = ["The Wasmer Engineering Team <engineering@wasmer.io>"]
edition = "2018"
repository = "https://github.com/wasmerio/wasmer"
2018-10-24 10:56:30 +00:00
publish = true
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",
"/README.md",
2018-10-24 10:54:45 +00:00
"rustfmt.toml"
]
[dependencies]
atty = "0.2"
byteorder = "1.3"
errno = "0.2"
fern = { version = "0.5", features = ["colored"], optional = true }
log = "0.4"
structopt = "0.3"
2020-01-28 16:37:43 +00:00
wabt = { version = "0.9.1", optional = true }
2020-03-24 00:53:01 +00:00
wasmer = { path = "lib/api" }
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" }
wasmer-runtime = { path = "lib/runtime" }
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 }
wasmer-kernel-loader = { path = "lib/kernel-loader", optional = true }
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",
"lib/wasi-experimental-io-devices",
"lib/interface-types",
2019-09-26 00:10:40 +00:00
"examples/parallel",
"examples/plugin-for-example",
2019-09-26 00:10:40 +00:00
"examples/parallel-guest",
"tests/generate-wasi-tests",
"tests/generate-emscripten-tests",
2019-05-24 18:00:57 +00:00
]
2019-01-10 02:06:33 +00:00
[build-dependencies]
wabt = "0.9.1"
generate-emscripten-tests = { path = "tests/generate-emscripten-tests" }
generate-wasi-tests = { path = "tests/generate-wasi-tests" }
glob = "0.3"
rustc_version = "0.2"
2018-10-16 09:18:58 +00:00
[dev-dependencies]
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
serde = { version = "1", features = ["derive"] } # used by the plugin example
typetag = "0.1" # used by the plugin example
wabt = "0.9.1"
2018-10-16 09:18:58 +00:00
2018-10-15 00:48:59 +00:00
[features]
default = ["fast-tests", "wasi", "backend-cranelift", "wabt"]
"loader-kernel" = ["wasmer-kernel-loader"]
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"]
# 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",
"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",
"wasmer/cranelift",
2019-07-30 06:59:21 +00:00
]
backend-llvm = [
"wasmer-llvm-backend",
"wasmer-runtime/llvm",
"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",
"wasmer/singlepass",
2019-07-30 06:59:21 +00:00
]
wasi = ["wasmer-wasi"]
experimental-io-devices = ["wasmer-wasi-experimental-io-devices"]
managed = ["backend-singlepass", "wasmer-runtime-core/managed"]
2019-04-27 01:45:18 +00:00
[[example]]
name = "plugin"
required-features = ["wasi"]
2019-04-29 15:09:42 +00:00
crate-type = ["bin"]
[[example]]
name = "callback"
crate-type = ["bin"]