mirror of
https://github.com/RustPython/RustPython.git
synced 2026-06-17 01:51:39 +09:00
43 lines
968 B
TOML
43 lines
968 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"
|
|
num-traits = "0.2"
|
|
num-bigint = { version = "0.2.3", features = ["serde"] }
|
|
|
|
[dependencies.web-sys]
|
|
version = "0.3"
|
|
features = [
|
|
"console",
|
|
"Document",
|
|
"Element",
|
|
"Window",
|
|
"Headers",
|
|
"Request",
|
|
"RequestInit",
|
|
"Response"
|
|
]
|