This commit merges [CraneStation/wasi-common] repo as a subdir of this repo while preserving **all** of git history. There is an initiative to pull `wasi-common` into [CraneStation/wasmtime], and [CraneStation/wasmtime] becoming a monorepo. This came about for several reasons with a common theme of convenience, namely, having a monorepo: 1. cleans up the problem of dependencies (as we have seen first hand with dependabot enabled, it can cause some grief) 2. completely removes the problem of syncing the closely dependent repos (e.g., updating `wasi-common` with say a bugfix generally implies creating a "sync" commit for pulling in the changes into the "parent" repo, in this case, `wasmtime`) 3. mainly for the two reasons above, makes publishing to crates.io easier 4. hopefully streamlines the process of getting the community involved in contributing to `wasi-common` as now everything is one place [CraneStation/wasi-common]: https://github.com/CraneStation/wasi-common [CraneStation/wasmtime]: https://github.com/CraneStation/wasmtime
46 lines
1.6 KiB
TOML
46 lines
1.6 KiB
TOML
[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.49", features = ["enable-serde"] }
|
|
cranelift-native = { version = "0.49" }
|
|
cranelift-entity = { version = "0.49", features = ["enable-serde"] }
|
|
cranelift-wasm = { version = "0.49", features = ["enable-serde"] }
|
|
cranelift-frontend = { version = "0.49" }
|
|
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.9.0", 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 = { path = "../wasi-common" }
|
|
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"
|