Ready payload on websocket, add friend by username + avatars.
Showing
- .gitignore 1 addition, 0 deletions.gitignore
- Cargo.lock 3 additions, 2 deletionsCargo.lock
- Cargo.toml 2 additions, 1 deletionCargo.toml
- Dockerfile 1 addition, 1 deletionDockerfile
- src/database/guards/mod.rs 0 additions, 20 deletionssrc/database/guards/mod.rs
- src/notifications/events.rs 5 additions, 2 deletionssrc/notifications/events.rs
- src/notifications/websocket.rs 1 addition, 0 deletionssrc/notifications/websocket.rs
- src/routes/users/add_friend.rs 31 additions, 15 deletionssrc/routes/users/add_friend.rs
- src/routes/users/get_avatar.rs 7 additions, 0 deletionssrc/routes/users/get_avatar.rs
- src/routes/users/mod.rs 4 additions, 0 deletionssrc/routes/users/mod.rs
... | ... | @@ -15,10 +15,11 @@ async-tungstenite = { version = "0.10.0", features = ["async-std-runtime"] } |
rauth = { git = "https://gitlab.insrt.uk/insert/rauth" } | ||
async-std = { version = "1.8.0", features = ["tokio02"] } | ||
hive_pubsub = { git = "https://gitlab.insrt.uk/insert/hive", features = ["mongo"] } | ||
hive_pubsub = { version = "0.4.3", features = ["mongo"] } | ||
rocket_cors = { git = "https://github.com/lawliet89/rocket_cors", branch = "master" } | ||
rocket_contrib = { git = "https://github.com/SergioBenitez/Rocket", branch = "master" } | ||
rocket = { git = "https://github.com/SergioBenitez/Rocket", branch = "master", default-features = false } | ||
# ! FIXME: Switch to async-std runtime. | ||
mongodb = { version = "1.1.1", features = ["tokio-runtime"], default-features = false } | ||
once_cell = "1.4.1" | ||
... | ... |
src/routes/users/get_avatar.rs
0 → 100644
Please register or sign in to comment