Switch to async Rust and break all logic.

This commit is contained in:
Paul Makles
2020-12-27 13:28:37 +00:00
parent 5711986768
commit 6cfec0ee08
26 changed files with 1141 additions and 1256 deletions

View File

@@ -7,29 +7,35 @@ edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
mongodb = { version = "1.1.1", default-features = false, features = ["sync"] } # FIXME: rewrite database with async API
rocket = { version = "0.4.5", default-features = false }
tokio = "0.2.22"
many-to-many = "0.1.2"
#rauth = { git = "https://gitlab.insrt.uk/insert/rauth" }
hive_pubsub = { version = "0.4.1", features = ["mongo"] }
rocket_cors = { git = "https://github.com/lawliet89/rocket_cors" }
rocket_contrib = { git = "https://github.com/SergioBenitez/Rocket" }
rocket = { git = "https://github.com/SergioBenitez/Rocket", default-features = false }
mongodb = { version = "1.1.1", features = ["tokio-runtime"], default-features = false }
once_cell = "1.4.1"
dotenv = "0.15.0"
ulid = "0.4.0"
ulid = "0.4.1"
serde = { version = "1.0.115", features = ["derive"] }
rocket_contrib = "0.4.5"
validator = "0.10.1"
bcrypt = "0.8.2"
chrono = "0.4.15"
rand = "0.7.3"
time = "0.2.16"
reqwest = { version = "0.10.8", features = ["blocking", "json"] }
num_enum = "0.5.1"
ws = "0.9.1"
hashbrown = "0.8.2"
serde_json = "1.0.57"
rocket_cors = "0.5.2"
validator = "0.10.1"
bitfield = "0.13.2"
lru = "0.6.0"
reqwest = { version = "0.10.8", features = ["json"] }
lazy_static = "1.4.0"
log = "0.4.11"
env_logger = "0.7.1"
num_enum = "0.5.1"
chrono = "0.4.15"
bcrypt = "0.8.2"
time = "0.2.16"
rand = "0.7.3"
lru = "0.6.0"
ws = "0.9.1"
lettre = "0.10.0-alpha.1"
hive_pubsub = { version = "0.3.1", features = ["mongo"] }
many-to-many = "0.1.2"
env_logger = "0.7.1"
log = "0.4.11"