2021-10-16 09:50:11 -07:00
|
|
|
[package]
|
|
|
|
name = "omegaupload-web"
|
|
|
|
version = "0.1.0"
|
2021-10-21 18:35:54 -07:00
|
|
|
edition = "2021"
|
2021-10-16 09:50:11 -07:00
|
|
|
|
2022-01-18 01:39:56 -08:00
|
|
|
[lib]
|
|
|
|
crate-type = ["cdylib"]
|
2021-10-16 09:50:11 -07:00
|
|
|
|
|
|
|
[dependencies]
|
2021-10-24 16:16:02 -07:00
|
|
|
omegaupload-common = { path = "../common", features = ["wasm"] }
|
2021-10-17 14:15:29 -07:00
|
|
|
# Enables wasm support
|
2022-07-10 20:31:04 -07:00
|
|
|
getrandom = { version = "0.2.7", features = ["js"] }
|
2021-10-17 14:15:29 -07:00
|
|
|
|
2022-07-10 20:31:04 -07:00
|
|
|
anyhow = "1.0.58"
|
2022-07-26 19:38:45 -07:00
|
|
|
bytes = "1.2.0"
|
2022-07-10 20:31:04 -07:00
|
|
|
byte-unit = "4.0.14"
|
|
|
|
console_error_panic_hook = "0.1.7"
|
|
|
|
gloo-console = "0.2.1"
|
|
|
|
http = "0.2.8"
|
2022-07-26 19:38:45 -07:00
|
|
|
js-sys = "0.3.59"
|
2022-07-10 20:31:04 -07:00
|
|
|
mime_guess = "2.0.4"
|
|
|
|
tree_magic_mini = { version = "3.0.3", features = ["with-gpl-data"] }
|
2022-07-26 19:38:45 -07:00
|
|
|
serde = { version = "1.0.140", features = ["derive"] }
|
|
|
|
wasm-bindgen = { version = "0.2.82", features = ["serde-serialize"] }
|
|
|
|
wasm-bindgen-futures = "0.4.32"
|
2022-07-10 20:31:04 -07:00
|
|
|
zip = { version = "0.6.2", default-features = false, features = ["deflate"] }
|
|
|
|
flate2 = "1.0.24"
|
2022-01-15 19:47:14 -08:00
|
|
|
tar = "0.4.38"
|
2022-08-02 02:10:58 -07:00
|
|
|
reqwest = "0.11"
|
2021-10-24 02:25:42 -07:00
|
|
|
|
|
|
|
[dependencies.web-sys]
|
2022-07-26 19:38:45 -07:00
|
|
|
version = "0.3.59"
|
2021-10-24 02:25:42 -07:00
|
|
|
features = [
|
2021-10-27 01:49:06 -07:00
|
|
|
"BlobPropertyBag",
|
2021-10-24 02:25:42 -07:00
|
|
|
"TextDecoder",
|
|
|
|
"IdbFactory",
|
|
|
|
"IdbOpenDbRequest",
|
|
|
|
"IdbRequest",
|
|
|
|
"IdbDatabase",
|
|
|
|
"IdbObjectStore",
|
|
|
|
"IdbTransaction",
|
|
|
|
"IdbTransactionMode",
|
|
|
|
"IdbIndex",
|
|
|
|
"IdbIndexParameters",
|
|
|
|
"Event",
|
2021-10-24 12:14:55 -07:00
|
|
|
"EventTarget",
|
|
|
|
"Window",
|
2021-10-24 20:54:49 -07:00
|
|
|
"Performance",
|
2021-10-24 12:14:55 -07:00
|
|
|
"Location",
|
2021-10-26 18:19:14 -07:00
|
|
|
]
|