omegaupload/common/Cargo.toml

27 lines
694 B
TOML
Raw Permalink Normal View History

2021-10-16 09:50:11 -07:00
[package]
name = "omegaupload-common"
version = "0.1.0"
2021-10-21 18:35:54 -07:00
edition = "2021"
2021-10-16 09:50:11 -07:00
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
2021-10-19 02:18:33 -07:00
base64 = "0.13"
2021-10-21 18:35:54 -07:00
bytes = { version = "*", features = ["serde"] }
2021-10-19 02:18:33 -07:00
chacha20poly1305 = "0.9"
2021-10-21 18:35:54 -07:00
chrono = { version = "0.4", features = ["serde"] }
headers = "*"
lazy_static = "1"
2021-10-19 02:18:33 -07:00
rand = "0.8"
2021-10-21 18:35:54 -07:00
serde = { version = "1", features = ["derive"] }
2021-10-19 02:18:33 -07:00
sha2 = "0.9"
thiserror = "1"
url = "2"
2021-10-24 16:16:02 -07:00
2021-10-25 22:33:08 -07:00
# Wasm deps
2021-10-24 16:16:02 -07:00
web-sys = { version = "0.3", features = ["Headers"], optional = true }
http = { version = "0.2", optional = true }
2021-10-25 22:33:08 -07:00
wasm-bindgen = { version = "0.2", optional = true }
2021-10-24 16:16:02 -07:00
[features]
2021-10-25 22:33:08 -07:00
wasm = ["web-sys", "http", "wasm-bindgen"]