ENQT-GmbH / remoc

Remoc 🦑 — Remote multiplexed objects, channels and RPC for Rust
https://crates.io/crates/remoc
Other
171 stars 16 forks source link

Need example project and tutorial #5

Open surban opened 2 years ago

surban commented 2 years ago

Although Remoc is well documented an example project and tutorial that show how all fits together and how to get started are missing.

surban commented 2 years ago

We now have an example project in examples/rtc, but more would be better.

baptiste0928 commented 2 years ago

Implementing tokio-rs/mini-redis with remoc could be a good example of real use case. I was thinking of a RTC interface with pub/sub based on broadcast channels, with automatic client reconnection and simple authentication.

This would show how all the remoc features fit together and give an idea of how to do your own client/server implementation.

A step-by-step tutorial could also be written based on this project.

j-refs commented 2 months ago

Just chiming in, as I see this issue is quite old now. The examples you mention in this repo are incomplete and non functioning.

That's definitely not welcoming to new adopters at all!

Is there a complete/functional example somewhere that missed a merge?

surban commented 2 months ago

You are right that the examples are rather minimal, given the functionality of the library.

However, could you explain the trouble you have with the existing examples in the repository? They are all functioning.