Cargo Features
[dependencies]
wasm_extra = { version = "0.1.6", default-features = false, features = ["all", "Window", "HtmlCanvasElement", "CanvasRenderingContext2d", "MouseEvent", "Document", "HtmlElement", "ImageBitmap", "ReadableStream", "ReadableStreamDefaultController", "ReadableStreamDefaultReader"] }
- default = all
-
The
all
feature is set by default wheneverwasm_extra
is added without
somewhere in the dependency tree.default-features = false - all default = CanvasRenderingContext2d, Document, HtmlCanvasElement, HtmlElement, ImageBitmap, MouseEvent, ReadableStream, ReadableStreamDefaultController, ReadableStreamDefaultReader, Window
- Window all
-
Affects
prelude::WindowExt
… - HtmlCanvasElement all
-
Enables HtmlCanvasElement of web-sys
Affects
prelude::HtmlCanvasElementExt
… - CanvasRenderingContext2d all
-
Enables CanvasRenderingContext2d of web-sys
Affects
prelude::HtmlCanvasElementExt.get_context_2d
,prelude::CanvasRenderingContext2dExt
… - MouseEvent all
-
Enables MouseEvent of web-sys
- Document all
- HtmlElement all
-
Enables HtmlElement of web-sys
- ImageBitmap all
-
Enables ImageBitmap of web-sys
Affects
prelude::CreateImageBitmapWithHtmlCanvasElementFuture
,prelude::WindowExt.create_image_bitmap_with_html_canvas_element_async
… - ReadableStream all
-
Enables ReadableStream of web-sys
Affects
wasm_extra::readable_stream
… - ReadableStreamDefaultController all
-
Enables ReadableStreamDefaultController of web-sys
Affects
readable_stream::ReadableStreamExt.from_u8_vec
… - ReadableStreamDefaultReader all
-
Enables ReadableStreamDefaultReader of web-sys
Affects
wasm_extra::readable_stream_default_reader
,readable_stream::ReadableStreamExt.from_u8_vec
…