wasmer/Cargo.toml

133 lines
3.8 KiB
TOML
Raw Normal View History

[package]
2020-03-24 00:53:01 +00:00
name = "wasmer-bin"
2020-05-11 20:48:41 +00:00
version = "0.17.0"
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"
]
2020-04-16 02:34:25 +00:00
autoexamples = false
[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-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 }
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 }
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",
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",
2020-04-14 18:41:12 +00:00
"tests/test-generator",
"tests/generate-wasi-tests",
"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
[build-dependencies]
2020-04-14 18:41:12 +00:00
anyhow = "1.0.19"
generate-emscripten-tests = { path = "tests/generate-emscripten-tests" }
generate-wasi-tests = { path = "tests/generate-wasi-tests" }
2020-04-14 18:41:12 +00:00
test-generator = { path = "tests/test-generator" }
glob = "0.3"
rustc_version = "0.2"
2018-10-16 09:18:58 +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"
# To allow parameterized tests
2020-04-15 23:31:05 +00:00
test-case = "1.0.0"
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
2020-04-15 23:31:05 +00:00
serde_json = "1"
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]
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"]
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"]
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"
2020-04-16 02:34:25 +00:00
required-features = ["wasi", "backend-cranelift"]
2019-04-29 15:09:42 +00:00
crate-type = ["bin"]
[[example]]
name = "callback"
crate-type = ["bin"]
2020-04-16 02:34:25 +00:00
required-features = ["backend-cranelift"]