Skip to content

Commit

Permalink
Enable the console feature for web-sys.
Browse files Browse the repository at this point in the history
  • Loading branch information
xStrom committed Oct 24, 2024
1 parent bcbcfa5 commit fe3480d
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions piet-web/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,9 @@ js-sys = "0.3.72"

[dependencies.web-sys]
version = "0.3.72"
features = ["Window", "CanvasGradient", "CanvasRenderingContext2d", "CanvasWindingRule",
features = ["console", "Window", "CanvasGradient", "CanvasRenderingContext2d", "CanvasWindingRule",
"Document", "DomMatrix", "Element", "HtmlCanvasElement", "ImageBitmap",
"ImageData", "TextMetrics"]

[dev-dependencies]
wasm-bindgen-test = "0.3.45"

[dev-dependencies.web-sys]
version = "0.3.72"
features = ["console", "Window", "CanvasGradient", "CanvasRenderingContext2d", "CanvasWindingRule",
"Document", "DomMatrix", "Element", "HtmlCanvasElement", "ImageBitmap", "ImageData",
"TextMetrics"]

0 comments on commit fe3480d

Please sign in to comment.