forked from Rust-related/RustPython
36 lines
763 B
TOML
36 lines
763 B
TOML
[package]
|
|
name = "rustpython_wasm"
|
|
version = "0.1.0"
|
|
authors = ["Ryan Liddle <ryan@rmliddle.com>"]
|
|
license = "MIT"
|
|
description = "A Python-3 (CPython >= 3.5.0) Interpreter written in Rust, compiled to WASM"
|
|
repository = "https://github.com/RustPython/RustPython/tree/master/wasm/lib"
|
|
edition = "2018"
|
|
|
|
[lib]
|
|
crate-type = ["cdylib", "rlib"]
|
|
|
|
[dependencies]
|
|
rustpython_parser = { path = "../../parser" }
|
|
rustpython_vm = { path = "../../vm" }
|
|
cfg-if = "0.1.2"
|
|
wasm-bindgen = "0.2"
|
|
wasm-bindgen-futures = "0.3"
|
|
js-sys = "0.3"
|
|
futures = "0.1"
|
|
num-traits = "0.2"
|
|
|
|
[dependencies.web-sys]
|
|
version = "0.3"
|
|
features = [
|
|
"console",
|
|
"Document",
|
|
"Element",
|
|
"HtmlTextAreaElement",
|
|
"Window",
|
|
"Headers",
|
|
"Request",
|
|
"RequestInit",
|
|
"Response"
|
|
]
|