forked from wasmerio/wasmer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
65 lines (57 loc) · 1.76 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
[package]
name = "wasmer-c-api"
version = "1.0.0-alpha.1"
description = "Wasmer C API library"
documentation = "https://wasmerio.github.io/wasmer/c-api/"
license = "MIT"
authors = ["The Wasmer Engineering Team <[email protected]>"]
repository = "https://github.com/wasmerio/wasmer"
keywords = ["wasm", "webassembly", "runtime"]
categories = ["wasm"]
edition = "2018"
readme = "README.md"
[lib]
crate-type = ["cdylib", "staticlib"]
[dependencies]
cfg-if = "0.1"
lazy_static = "1"
libc = { version = "0.2", default-features = false }
libffi = { version = "0.9" }
thiserror = "1"
paste = "0.1"
# for generating code in the same way thot the wasm-c-api does
# Commented out for now until we can find a solution to the exported function problem
# wasmer-wasm-c-api = { version = "1.0.0-alpha.1", path = "crates/wasm-c-api" }
[dependencies.wasmer]
default-features = false
features = ["compiler", "engine", "jit"]
path = "../api"
version = "1.0.0-alpha.1"
[dependencies.wasm-common]
default-features = false
path = "../wasm-common"
version = "1.0.0-alpha.1"
[dependencies.wasmer-wasi]
default-features = false
path = "../wasi"
version = "1.0.0-alpha.1"
optional = true
#[dependencies.wasmer-emscripten]
#path = "../emscripten"
#version = "1.0.0-alpha.1"
#optional = true
[features]
default = ["cranelift-backend", "wasi"]
singlepass = ["wasmer/singlepass"]
cranelift = ["wasmer/cranelift"]
llvm = ["wasmer/llvm"]
wasi = ["wasmer-wasi"]
#emscripten = ["wasmer-emscripten"]
# used to avoid generating standard Wasm C API types in our header files
ignore-wasm-c-api = []
# This is for compatibility for old usage
singlepass-backend = ["singlepass"]
cranelift-backend = ["cranelift"]
llvm-backend = ["llvm"]
[build-dependencies]
cbindgen = { git = "https://github.com/eqrion/cbindgen", version = "0.14" }