omegaupload/common/Cargo.toml

32 lines
889 B
TOML
Raw Normal View History

2021-10-16 16:50:11 +00:00
[package]
name = "omegaupload-common"
version = "0.1.0"
2021-10-22 01:35:54 +00:00
edition = "2021"
2021-10-31 23:04:31 +00:00
description = "Common library for OmegaUpload"
repository = "https://git.eddie.sh/edward/omegaupload"
license = "MIT"
2021-10-16 16:50:11 +00:00
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
2021-10-19 09:18:33 +00:00
base64 = "0.13"
2021-10-31 23:04:31 +00:00
bytes = { version = "1", features = ["serde"] }
2021-10-31 01:38:55 +00:00
chacha20poly1305 = { version = "0.9", features = ["stream"] }
2021-10-22 01:35:54 +00:00
chrono = { version = "0.4", features = ["serde"] }
2021-10-31 23:04:31 +00:00
headers = "0.3"
2021-10-22 01:35:54 +00:00
lazy_static = "1"
2021-10-19 09:18:33 +00:00
rand = "0.8"
2021-10-31 04:00:09 +00:00
secrecy = "0.8"
2021-10-22 01:35:54 +00:00
serde = { version = "1", features = ["derive"] }
2021-10-19 09:18:33 +00:00
thiserror = "1"
2021-10-31 01:38:55 +00:00
typenum = "1"
2021-10-19 09:18:33 +00:00
url = "2"
2021-10-31 01:38:55 +00:00
argon2 = "0.3.1"
2021-10-24 23:16:02 +00:00
2021-10-31 01:38:55 +00:00
# Wasm features
gloo-console = { version = "0.1", optional = true }
2021-10-24 23:16:02 +00:00
http = { version = "0.2", optional = true }
2021-10-31 01:38:55 +00:00
web-sys = { version = "0.3", features = ["Headers"], optional = true }
2021-10-24 23:16:02 +00:00
[features]
2021-10-31 01:38:55 +00:00
wasm = ["gloo-console", "http", "web-sys"]