[package] name = "wasmer-c-api-near" version = "1.0.1" description = "Wasmer C API library" categories = ["wasm", "api-bindings"] keywords = ["wasm", "webassembly", "runtime"] authors = ["Wasmer Engineering Team "] repository = "https://github.com/wasmerio/wasmer" documentation = "https://wasmerio.github.io/wasmer/c-api/" license = "MIT" readme = "README.md" edition = "2018" [lib] crate-type = ["cdylib", "rlib", "staticlib"] [dependencies] wasmer = { version = "1.0.1", path = "../api", default-features = false, package = "wasmer-near" } wasmer-compiler = { version = "1.0.1", path = "../compiler", package = "wasmer-compiler-near" } wasmer-compiler-cranelift = { version = "1.0.1", path = "../compiler-cranelift", optional = true, package = "wasmer-compiler-cranelift-near" } wasmer-compiler-singlepass = { version = "1.0.1", path = "../compiler-singlepass", optional = true, package = "wasmer-compiler-singlepass-near" } wasmer-compiler-llvm = { version = "1.0.1", path = "../compiler-llvm", optional = true, package = "wasmer-compiler-llvm-near" } wasmer-emscripten = { version = "1.0.1", path = "../emscripten", optional = true, package = "wasmer-emscripten-near" } wasmer-engine = { version = "1.0.1", path = "../engine", package = "wasmer-engine-near" } wasmer-engine-jit = { version = "1.0.1", path = "../engine-jit", optional = true, package = "wasmer-engine-jit-near" } wasmer-engine-native = { version = "1.0.1", path = "../engine-native", optional = true, package = "wasmer-engine-native-near" } wasmer-engine-object-file = { version = "1.0.1", path = "../engine-object-file", optional = true, package = "wasmer-engine-object-file-near" } wasmer-wasi = { version = "1.0.1", path = "../wasi", optional = true, package = "wasmer-wasi-near" } wasmer-types = { version = "1.0.1", path = "../wasmer-types", package = "wasmer-types-near" } cfg-if = "1.0" lazy_static = "1.4" libc = { version = "^0.2", default-features = false } libffi = { version = "1.0", optional = true } serde = { version = "1", optional = true, features = ["derive"] } thiserror = "1" typetag = { version = "0.1", optional = true } paste = "1.0" # 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.1", path = "crates/wasm-c-api" } [dev-dependencies] inline-c = "0.1.4" [features] default = [ "deprecated", "wat", "cranelift", "jit", "wasi", ] wat = ["wasmer/wat"] wasi = ["wasmer-wasi", "typetag", "serde"] engine = [] deprecated = ["libffi"] jit = [ "wasmer-engine-jit", "engine", ] native = [ "wasmer-engine-native", "engine", ] object-file = [ "wasmer-engine-object-file", "engine", ] compiler = [ "wasmer-engine-jit/compiler", "wasmer-engine-native/compiler", "wasmer-engine-object-file/compiler" ] singlepass = [ "wasmer-compiler-singlepass", "compiler", ] cranelift = [ "wasmer-compiler-cranelift", "compiler", ] llvm = [ "wasmer-compiler-llvm", "compiler", ] system-libffi = ["libffi/system"] # Deprecated feature. # TODO: Port this feature. #emscripten = ["wasmer-emscripten"] # This is for compatibility for old usage singlepass-backend = ["singlepass"] cranelift-backend = ["cranelift"] llvm-backend = ["llvm"] [build-dependencies] cbindgen = "0.15"