[package] name = "canvas-display" version = "0.1.2" authors = ["Florian Blasius "] description = "Wasm32 implementation for embedded-graphics https://github.com/jamwaffles/embedded-graphics DrawTarget. It is based on a HTML canvas." documentation = "https://docs.rs/canvas-display" edition = "2018" repository = "https://codeberg.org/morph/canvas-display" readme = "README.md" license = "MIT" keywords = [ "graphics", "canvas", "wasm" ] [dependencies] embedded-graphics = "0.6.2" wasm-bindgen = "0.2" js-sys = "0.3" [dependencies.web-sys] version = "0.3" features = [ 'Node', 'Element', 'console', 'CanvasRenderingContext2d', 'Document', 'Element', 'ImageData', 'HtmlCanvasElement', 'HtmlElement', 'Window', ] [features] default = [] offscreen = []