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
|
|
|
|
|
|
|
web-sys = { version = "0.3", features = ["Headers"], optional = true }
|
|
|
|
http = { version = "0.2", optional = true }
|
|
|
|
|
|
|
|
[features]
|
|
|
|
wasm = ["web-sys", "http"]
|