2021-10-16 09:50:11 -07:00
|
|
|
[package]
|
|
|
|
name = "omegaupload-server"
|
|
|
|
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-21 18:35:54 -07:00
|
|
|
omegaupload-common = { path = "../common" }
|
2021-10-16 09:50:11 -07:00
|
|
|
anyhow = "1"
|
2022-01-18 00:36:02 -08:00
|
|
|
axum = { version = "0.4", features = ["http2", "headers"] }
|
2021-10-16 09:50:11 -07:00
|
|
|
bincode = "1"
|
|
|
|
# We don't care about which version (We want to match with axum), we just need
|
|
|
|
# to enable the feature
|
2021-10-19 02:18:33 -07:00
|
|
|
bytes = { version = "*", features = ["serde"] }
|
|
|
|
chrono = { version = "0.4", features = ["serde"] }
|
2021-10-30 23:38:20 -07:00
|
|
|
futures = "0.3"
|
2021-10-16 09:50:11 -07:00
|
|
|
# We just need to pull in whatever axum is pulling in
|
|
|
|
headers = "*"
|
2021-10-27 19:16:43 -07:00
|
|
|
lazy_static = "1"
|
2021-10-31 12:34:26 -07:00
|
|
|
# Disable `random()` and `thread_rng()`
|
|
|
|
rand = { version = "0.8", default_features = false }
|
2022-02-27 16:30:21 -08:00
|
|
|
rocksdb = { version = "0.18", default_features = false, features = ["zstd"] }
|
2021-10-16 09:50:11 -07:00
|
|
|
serde = { version = "1", features = ["derive"] }
|
2021-10-30 23:38:20 -07:00
|
|
|
signal-hook = "0.3"
|
|
|
|
signal-hook-tokio = { version = "0.3", features = ["futures-v0_3"] }
|
2021-10-16 09:50:11 -07:00
|
|
|
tokio = { version = "1", features = ["macros", "rt-multi-thread"] }
|
2022-02-27 16:30:21 -08:00
|
|
|
tower-http = { version = "0.2", features = ["fs"] }
|
2021-10-16 09:50:11 -07:00
|
|
|
tracing = { version = "0.1" }
|
2022-02-27 16:30:21 -08:00
|
|
|
tracing-subscriber = "0.3"
|