[package] name = "pkt_wasm" version = "0.1.3" edition = "2021" description = "A sample project with wasm-js" license = "MIT/Apache-2.0" repository = "https://github.com/akeboshi1/PhaserRust" [package.metadata.wasm-pack.profile.release] wasm-opt = ["-Oz", "--enable-mutable-globals"] [lib] crate-type = ["cdylib"] path = "./src/lib.rs" [dependencies] wasm-bindgen = {version ="0.2.64",features = ["serde-serialize"]} wasm-bindgen-futures = "0.4.7" js-sys = "0.3.36" futures = { version = "0.3"} serde_json = "1.0.32" serde = { version = "1.0.80", features = ["derive"] } [dev-dependencies] wasm-bindgen-test = "0.2" [dependencies.web-sys] version = "^0.3.59" features = [ "BinaryType", "Blob", "ErrorEvent", "MessageEvent", "ProgressEvent", "DedicatedWorkerGlobalScope", "WebSocket", "console", "XmlHttpRequest", "XmlHttpRequestUpload", "XmlHttpRequestResponseType", "XmlHttpRequestEventTarget", "EventListener", "FormData", "BlobPropertyBag" ]