Skip to content
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

Merged
merged 6 commits into from
Jan 25, 2024

Conversation

kaplanelad
Copy link
Contributor

@kaplanelad kaplanelad commented Jan 25, 2024

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.

@kaplanelad
Copy link
Contributor Author

kaplanelad commented Jan 25, 2024

I fixed the formatting.
Thank you, everyone, for your efforts!

Comment on lines 9 to 24

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"] }

Copy link
Owner

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

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@Totodore Totodore merged commit b7e3402 into Totodore:main Jan 25, 2024
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants