2021-10-16 09:50:11 -07:00
|
|
|
[package]
|
|
|
|
name = "omegaupload-common"
|
2022-01-17 21:27:25 -08:00
|
|
|
version = "0.2.0"
|
2021-10-21 18:35:54 -07:00
|
|
|
edition = "2021"
|
2021-10-31 16:04:31 -07:00
|
|
|
description = "Common library for OmegaUpload"
|
|
|
|
repository = "https://git.eddie.sh/edward/omegaupload"
|
|
|
|
license = "MIT"
|
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]
|
2022-07-10 20:31:04 -07:00
|
|
|
base64 = "0.13.0"
|
|
|
|
bytes = { version = "1.1.0", features = ["serde"] }
|
|
|
|
chacha20poly1305 = { version = "0.9.1", features = ["stream", "std"] }
|
|
|
|
chrono = { version = "0.4.19", features = ["serde"] }
|
|
|
|
headers = "0.3.7"
|
|
|
|
lazy_static = "1.4.0"
|
|
|
|
rand = "0.8.5"
|
|
|
|
secrecy = "0.8.0"
|
|
|
|
serde = { version = "1.0.138", features = ["derive"] }
|
|
|
|
thiserror = "1.0.31"
|
|
|
|
typenum = "1.15.0"
|
|
|
|
url = "2.2.2"
|
|
|
|
argon2 = "0.4.1"
|
2021-10-24 16:16:02 -07:00
|
|
|
|
2021-10-30 18:38:55 -07:00
|
|
|
# Wasm features
|
2022-07-10 20:31:04 -07:00
|
|
|
gloo-console = { version = "0.2.1", optional = true }
|
|
|
|
reqwasm = { version = "0.5.0", optional = true }
|
|
|
|
http = { version = "0.2.8", optional = true }
|
2021-10-24 16:16:02 -07:00
|
|
|
|
|
|
|
[features]
|
2022-07-10 20:31:04 -07:00
|
|
|
wasm = ["gloo-console", "reqwasm", "http"]
|