Use data urls instead of blob URLs
I didn't do this originally because I was half doing it in the first place to mess with Blob URLs, and it feels kinda wrong to be encoding it as base64 when that option is available. But not having memory leaks is more important.
This commit is contained in:
parent
99c56b9bff
commit
11f29bca86
2 changed files with 7 additions and 18 deletions
|
|
@ -20,7 +20,7 @@ wasm-bindgen = "0.2"
|
|||
wasm-bindgen-futures = "0.4"
|
||||
url = "2.0"
|
||||
num-traits = "0.2"
|
||||
js-sys = "0.3"
|
||||
base64 = "0.13"
|
||||
|
||||
[dependencies.iced_core]
|
||||
version = "0.3"
|
||||
|
|
@ -45,6 +45,4 @@ features = [
|
|||
"EventTarget",
|
||||
"InputEvent",
|
||||
"KeyboardEvent",
|
||||
"Url",
|
||||
"Blob",
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue