omegaupload/web/Cargo.toml

51 lines
1.1 KiB
TOML
Raw Normal View History

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