Add from_canvas() to Surface for Wasm (#76)

Co-authored-by: Toniman575 <toniman575@gmail.com>
This commit is contained in:
daxpedda 2023-05-08 15:43:34 +02:00 committed by GitHub
parent ecfae194ce
commit fcda747ddf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 48 additions and 0 deletions

View file

@ -85,3 +85,14 @@ rayon = "1.5.1"
members = [
"run-wasm",
]
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
default-target = "x86_64-unknown-linux-gnu"
targets = [
"x86_64-pc-windows-msvc",
"x86_64-apple-darwin",
"x86_64-unknown-linux-gnu",
"wasm32-unknown-unknown",
]