omegaupload/common/Cargo.toml

33 lines
920 B
TOML
Raw Normal View History

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]
base64 = "0.13.0"
2022-07-26 19:38:45 -07:00
bytes = { version = "1.2.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"
2022-07-26 19:38:45 -07:00
serde = { version = "1.0.140", 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
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]
wasm = ["gloo-console", "reqwasm", "http"]