Files
RustPython/wasm/lib/Cargo.toml
2019-12-27 11:22:53 -06:00

41 lines
892 B
TOML

[package]
name = "rustpython_wasm"
version = "0.1.0-pre-alpha.2"
authors = ["RustPython Team"]
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"]
[features]
default = ["freeze-stdlib"]
freeze-stdlib = ["rustpython-vm/freeze-stdlib"]
[dependencies]
rustpython-compiler = { path = "../../compiler" }
rustpython-parser = { path = "../../parser" }
rustpython-vm = { path = "../../vm" }
cfg-if = "0.1.2"
wasm-bindgen = "0.2"
wasm-bindgen-futures = "0.3"
serde-wasm-bindgen = "0.1"
serde = "1.0"
js-sys = "0.3"
futures = "0.1"
[dependencies.web-sys]
version = "0.3"
features = [
"console",
"Document",
"Element",
"Window",
"Headers",
"Request",
"RequestInit",
"Response"
]