* Allow using WASI APIs in the Python extension This commit adds support to the Python extension to load the WASI implementation when a WASI module is seen allowing Python to load WebAssembly modules that use WASI. This is pretty primitive right now because there's no way to configure the environment/args/preopens/etc, but it's hoped to be at least a start! * rustfmt * Refactor checks for the wasi module name * Move the check into `wasmtime-wasi` itself * Make it conservative for now and match anything that says `wasi*` * Leave a `FIXME` for improving this later on * Enable missing feature of winapi for `winx`
36 lines
1016 B
TOML
36 lines
1016 B
TOML
[package]
|
|
name = "wasmtime-py"
|
|
version = "0.2.0"
|
|
authors = ["The Wasmtime Project Developers"]
|
|
description = "Python extension for Wasmtime"
|
|
license = "Apache-2.0 WITH LLVM-exception"
|
|
categories = ["wasm", "python"]
|
|
keywords = ["webassembly", "wasm"]
|
|
repository = "https://github.com/CraneStation/wasmtime"
|
|
readme = "README.md"
|
|
edition = "2018"
|
|
|
|
[lib]
|
|
name = "_wasmtime"
|
|
crate-type = ["cdylib"]
|
|
|
|
[dependencies]
|
|
cranelift-codegen = "0.49"
|
|
cranelift-native = "0.49"
|
|
cranelift-entity = "0.49"
|
|
cranelift-wasm = "0.49"
|
|
cranelift-frontend = "0.49"
|
|
wasmtime-environ = { path = "../../environ" }
|
|
wasmtime-interface-types = { path = "../../interface-types" }
|
|
wasmtime-jit = { path = "../../jit" }
|
|
wasmtime-runtime = { path = "../../runtime" }
|
|
wasmtime-wasi = { path = "../../wasi" }
|
|
target-lexicon = { version = "0.9.0", default-features = false }
|
|
anyhow = "1.0.19"
|
|
region = "2.0.0"
|
|
wasmparser = "0.39.2"
|
|
pyo3 = { version = "0.8.0", features = ["extension-module"] }
|
|
|
|
[badges]
|
|
maintenance = { status = "actively-developed" }
|