# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "rustpython_wasm" version = "0.4.0" authors = ["RustPython Team"] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "A Python-3 (CPython >= 3.5.0) Interpreter written in Rust, compiled to WASM" readme = "README.md" license = "MIT" repository = "https://github.com/RustPython/RustPython/tree/main/wasm/lib" [package.metadata.wasm-pack.profile.release] wasm-opt = false [lib] name = "rustpython_wasm" crate-type = [ "cdylib", "rlib", ] path = "src/lib.rs" [dependencies.console_error_panic_hook] version = "0.1" [dependencies.js-sys] version = "0.3" [dependencies.rustpython-common] version = "0.4.0" [dependencies.rustpython-parser] version = "0.4.0" [dependencies.rustpython-pylib] version = "0.4.0" optional = true [dependencies.rustpython-stdlib] version = "0.4.0" optional = true default-features = false [dependencies.rustpython-vm] version = "0.4.0" features = [ "compiler", "encodings", "serde", ] default-features = false [dependencies.serde] version = "1.0.133" default-features = false [dependencies.serde-wasm-bindgen] version = "0.3.1" [dependencies.wasm-bindgen] version = "0.2.80" [dependencies.wasm-bindgen-futures] version = "0.4" [dependencies.web-sys] version = "0.3" features = [ "console", "Document", "Element", "Window", "Headers", "Request", "RequestInit", "Response", ] [features] default = ["freeze-stdlib"] freeze-stdlib = [ "rustpython-vm/freeze-stdlib", "rustpython-pylib/freeze-stdlib", "rustpython-stdlib", ] no-start-func = [] [lints.clippy] complexity = "warn" correctness = "warn" perf = "warn" style = "warn" suspicious = "warn" [lints.rust] unsafe_code = "allow"