omegaupload/common/Cargo.toml

29 lines
769 B
TOML
Raw 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-30 18:38:55 -07:00
chacha20poly1305 = { version = "0.9", features = ["stream"] }
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-30 21:00:09 -07:00
secrecy = "0.8"
2021-10-21 18:35:54 -07:00
serde = { version = "1", features = ["derive"] }
2021-10-19 02:18:33 -07:00
thiserror = "1"
2021-10-30 18:38:55 -07:00
typenum = "1"
2021-10-19 02:18:33 -07:00
url = "2"
2021-10-30 18:38:55 -07:00
argon2 = "0.3.1"
2021-10-24 16:16:02 -07:00
2021-10-30 18:38:55 -07:00
# Wasm features
gloo-console = { version = "0.1", optional = true }
2021-10-24 16:16:02 -07:00
http = { version = "0.2", optional = true }
2021-10-30 18:38:55 -07:00
web-sys = { version = "0.3", features = ["Headers"], optional = true }
2021-10-24 16:16:02 -07:00
[features]
2021-10-30 18:38:55 -07:00
wasm = ["gloo-console", "http", "web-sys"]