-
-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chat room example with loco as a backend #254
Conversation
I fixed the formatting. |
examples/loco-rooms-chat/Cargo.toml
Outdated
|
||
loco-rs = { version = "0.2.3", default-features = false, features = [ | ||
"cli", | ||
"channels", | ||
] } | ||
serde = { version = "1.0.195", features = ["derive"] } | ||
serde_json = "1.0.111" | ||
eyre = "0.6.11" | ||
tokio = { version = "1.33.0", default-features = false } | ||
async-trait = "0.1.74" | ||
chrono = { version = "0.4", features = ["serde"] } | ||
|
||
axum = "0.7.1" | ||
tracing = "0.1.40" | ||
tracing-subscriber = { version = "0.3.17", features = ["env-filter", "json"] } | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For the dependencies that are already defined in the main Cargo.toml could you link to them with workspace = true
? It would allow to have automatic update from dependabot and to check that this example works with the new versions.
Specified deps are tokio, axum, tracing, tracing-subscriber, serde and serde_json
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
In response to the @tausifcreates issue raised in our Loco repository, we have integrated the Socketioxide crate in our project.
I've included a usage example demonstrating leveraging socketioxide with Loco as the backend.