[package] name = "wasmtime-api" authors = ["The Wasmtime Project Developers"] version = "0.1.0" description = "High-level API to expose the Wasmtime runtime" license = "Apache-2.0 WITH LLVM-exception" repository = "https://github.com/CraneStation/wasmtime" edition = "2018" [lib] name = "wasmtime_api" crate-type = ["lib", "staticlib", "cdylib"] [dependencies] cranelift-codegen = { version = "0.47", features = ["enable-serde"] } cranelift-native = { version = "0.47" } cranelift-entity = { version = "0.47", features = ["enable-serde"] } cranelift-wasm = { version = "0.47", features = ["enable-serde"] } cranelift-frontend = { version = "0.47" } wasmtime-runtime = { path="../wasmtime-runtime" } wasmtime-environ = { path="../wasmtime-environ" } wasmtime-jit = { path="../wasmtime-jit" } wasmparser = { version = "0.39.2", default-features = false } target-lexicon = { version = "0.8.1", default-features = false } anyhow = "1.0.19" thiserror = "1.0.4" region = "2.0.0" hashbrown = { version = "0.6.0", optional = true } [features] default = ["std"] std = ["cranelift-codegen/std", "cranelift-wasm/std", "wasmtime-environ/std", "wasmparser/std"] wasm-c-api = [] core = ["hashbrown/nightly", "cranelift-codegen/core", "cranelift-wasm/core", "wasmtime-environ/core", "wasmparser/core"] [dev-dependencies] # for wasmtime.rs wasi-common = { git = "https://github.com/CraneStation/wasi-common", rev = "37ce4ba"} docopt = "1.0.1" serde = { "version" = "1.0.94", features = ["derive"] } pretty_env_logger = "0.3.0" wasmtime-wast = { path="../wasmtime-wast" } wasmtime-wasi = { path="../wasmtime-wasi" } rayon = "1.1" file-per-thread-logger = "0.1.1"