file picker + show_open_file_picker
This commit is contained in:
parent
6cdccb72b2
commit
ce36cd914f
13 changed files with 702 additions and 110 deletions
5
.cargo/config.toml
Normal file
5
.cargo/config.toml
Normal file
|
@ -0,0 +1,5 @@
|
|||
[build]
|
||||
# https://docs.rs/web-sys/latest/web_sys/struct.Window.html#method.show_open_file_picker
|
||||
# https://github.com/rustwasm/wasm-bindgen/issues/2339#issuecomment-1000651386
|
||||
[target.wasm32-unknown-unknown]
|
||||
rustflags = ["--cfg=web_sys_unstable_apis"]
|
Reference in a new issue