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