omegaupload/web/Cargo.toml

51 lines
1 KiB
TOML
Raw Normal View History

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
getrandom = { version = "*", features = ["js"] }
2021-10-24 13:12:14 -07:00
anyhow = "1"
2021-10-19 18:48:32 -07:00
bytes = "1"
2021-10-23 10:10:55 -07:00
byte-unit = "4"
2021-10-24 20:54:49 -07:00
console_error_panic_hook = "0.1"
2021-10-19 02:18:33 -07:00
gloo-console = "0.1"
2021-10-17 14:15:29 -07:00
http = "0.2"
2021-10-22 19:15:23 -07:00
js-sys = "0.3"
mime_guess = "2"
2021-10-23 10:10:55 -07:00
reqwasm = "0.2"
2021-10-24 11:40:19 -07:00
tree_magic_mini = { version = "3", features = ["with-gpl-data"] }
2021-10-26 23:51:05 -07:00
serde = { version = "1.0", features = ["derive"] }
2021-10-26 18:19:14 -07:00
wasm-bindgen = { version = "0.2", features = ["serde-serialize"]}
2021-10-22 19:15:23 -07:00
wasm-bindgen-futures = "0.4"
2021-10-26 18:19:14 -07:00
zip = { version = "0.5", default-features = false, features = ["deflate"] }
2022-01-15 19:47:14 -08:00
flate2 = "1.0.22"
tar = "0.4.38"
2021-10-24 02:25:42 -07:00
[dependencies.web-sys]
version = "0.3"
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
]