yew/examples/file_upload/Cargo.toml
Kenzi Connor 8788a4f9b1
File upload - simplify a bit with gloo::file::FileList::from (#3685)
* simplify a little with gloo::file::FileList::from

* a little less repetition

* trim the web_sys feature flags a bit

* drop the clone

* more golf

* fmt

---------

Co-authored-by: Elina <imelina@elina.website>
2024-10-12 20:36:24 +08:00

17 lines
338 B
TOML

[package]
name = "file_upload"
version = "0.1.0"
authors = ["Denis Kolodin <deniskolodin@gmail.com>"]
edition = "2021"
license = "MIT OR Apache-2.0"
[dependencies]
js-sys = "0.3"
yew = { path = "../../packages/yew", features = ["csr"] }
base64 = "0.22.1"
gloo = "0.11"
[dependencies.web-sys]
version = "0.3"
features = ["DataTransfer"]