[package] name = "wasm_extra" version = "0.1.6" authors = ["Dmitrii Demenev "] edition = "2021" rust-version = "1.56.1" # https://github.com/foresterre/cargo-msrv description = "Extra utilities for WASM." documentation = "https://docs.rs/wasm_extra" readme = "README.md" repository = "https://github.com/JohnScience/wasm_extra" license = "MIT OR Apache-2.0" # license-file | not needed keywords = ["wasm", "frontend"] categories = ["wasm", "web-programming"] # https://crates.io/category_slugs # workspace | not needed # build | not needed # links | not needed # exclude | not needed autobins = false # autoexamples = true autotests = false autobenches = false # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] wasm_extra_macros = "0.1.1" web-sys = "0.3" wasm-bindgen = "0.2" wasm-bindgen-futures = "0.4" js-sys = "0.3" [features] default = ["all"] all = [ "Window", "HtmlCanvasElement", "CanvasRenderingContext2d", "MouseEvent", "HtmlElement", "Document", "ImageBitmap", "ReadableStream", "ReadableStreamDefaultController", "ReadableStreamDefaultReader", ] Window = ["web-sys/Window"] HtmlCanvasElement = ["web-sys/HtmlCanvasElement"] CanvasRenderingContext2d = ["web-sys/CanvasRenderingContext2d"] MouseEvent = ["web-sys/MouseEvent"] Document = ["web-sys/Document"] HtmlElement = ["web-sys/HtmlElement"] ImageBitmap = ["web-sys/ImageBitmap"] ReadableStream = ["web-sys/ReadableStream"] ReadableStreamDefaultController = ["web-sys/ReadableStreamDefaultController"] ReadableStreamDefaultReader = ["web-sys/ReadableStreamDefaultReader"]