mirror of
https://github.com/yewstack/yew.git
synced 2025-12-08 21:26:25 +00:00
* 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>
17 lines
338 B
TOML
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"]
|