Files
RustPython/wasm/lib/Cargo.toml
Sang-Heon Jeon 545e9d39df Fix int type casting error with negative base value
Change base type from u32 to PyIntRef

Fixed: #1405
2019-09-25 01:01:21 +09:00

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"
]