working(ish) upload

This commit is contained in:
2026-03-26 15:59:54 +01:00
parent 2d19e3b5d7
commit cd030a6c44
21 changed files with 651 additions and 126 deletions

View File

@ -8,6 +8,14 @@ edition = "2021"
[dependencies]
dioxus = { version = "0.7.1", features = ["router", "fullstack"] }
dioxus-html = "0.7.3"
dioxus-primitives = { git = "https://github.com/DioxusLabs/components", version = "0.0.1", default-features = false }
futures = "0.3.32"
random-string = "1.1.0"
reqwest = { version = "0.13.2", features = ["stream"] }
tracing = "0.1.44"
wasm-bindgen = "0.2.114"
web-sys = { version = "0.3.91", features = ["XmlHttpRequest", "XmlHttpRequestUpload", "ProgressEvent" ] }
[features]
default = ["web"]
@ -19,3 +27,11 @@ desktop = ["dioxus/desktop"]
mobile = ["dioxus/mobile"]
# The feature that are only required for the server = ["dioxus/server"] build target should be optional and only enabled in the server = ["dioxus/server"] feature
server = ["dioxus/server"]
[profile.release]
opt-level = "z"
debug = false
lto = true
codegen-units = 1
panic = "abort"
incremental = false