omegaupload/web/Cargo.toml

53 lines
1.1 KiB
TOML
Raw Normal View History

2021-10-26 05:33:08 +00:00
# You must change these to your own details.
2021-10-16 16:50:11 +00:00
[package]
2021-10-26 05:33:08 +00:00
name = "rust-webpack-template"
description = "My super awesome Rust, WebAssembly, and Webpack project!"
2021-10-16 16:50:11 +00:00
version = "0.1.0"
2021-10-26 05:33:08 +00:00
authors = ["You <you@example.com>"]
categories = ["wasm"]
readme = "README.md"
2021-10-22 01:35:54 +00:00
edition = "2021"
2021-10-16 16:50:11 +00:00
2021-10-26 05:33:08 +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 = "*", features = ["js"] }
2021-10-24 20:12:14 +00:00
anyhow = "1"
2021-10-20 01:48:32 +00:00
bytes = "1"
2021-10-23 17:10:55 +00:00
byte-unit = "4"
2021-10-25 03:54:49 +00:00
console_error_panic_hook = "0.1"
2021-10-19 09:18:33 +00:00
gloo-console = "0.1"
2021-10-17 21:15:29 +00:00
http = "0.2"
2021-10-23 02:15:23 +00:00
js-sys = "0.3"
2021-10-23 17:10:55 +00:00
reqwasm = "0.2"
2021-10-24 18:40:19 +00:00
tree_magic_mini = { version = "3", features = ["with-gpl-data"] }
2021-10-23 02:15:23 +00:00
wasm-bindgen = "0.2"
wasm-bindgen-futures = "0.4"
2021-10-24 09:25:42 +00:00
[dependencies.web-sys]
version = "0.3"
features = [
"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-26 05:33:08 +00:00
]
[dev-dependencies]
wasm-bindgen-test = "0.2.45"