wasmer/Cargo.toml

115 lines
3.3 KiB
TOML
Raw Normal View History

[package]
name = "wasmer"
2020-01-16 22:07:18 +00:00
version = "0.13.1"
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"
wabt = "0.9.1"
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-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 }
wasmer-middleware-common-tests = { path = "lib/middleware-common-tests", optional = true }
wasmer-emscripten-tests = { path = "lib/emscripten-tests", 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 = [
"lib/clif-backend",
"lib/singlepass-backend",
"lib/runtime",
"lib/runtime-core",
"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",
"lib/wasi-experimental-io-devices",
2019-07-09 18:58:03 +00:00
"lib/wasi-tests",
"lib/emscripten-tests",
"lib/middleware-common-tests",
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",
2019-05-24 18:00:57 +00:00
]
2019-01-10 02:06:33 +00:00
[build-dependencies]
wabt = "0.9.1"
glob = "0.3"
rustc_version = "0.2"
2018-10-16 09:18:58 +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]
default = ["fast-tests", "wasi", "backend-cranelift"]
"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",
2019-07-30 06:59:21 +00:00
"wasmer-runtime/cranelift",
"wasmer-middleware-common-tests/clif",
2019-07-30 06:59:21 +00:00
]
backend-llvm = [
"wasmer-llvm-backend",
"wasmer-runtime/llvm",
"wasmer-middleware-common-tests/llvm",
2019-07-30 06:59:21 +00:00
]
backend-singlepass = [
"wasmer-singlepass-backend",
"wasmer-runtime/singlepass",
"wasmer-middleware-common-tests/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"
2019-04-29 15:09:42 +00:00
crate-type = ["bin"]
[[example]]
name = "callback"
crate-type = ["bin"]