-
Notifications
You must be signed in to change notification settings - Fork 2
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
Offering a nicer API on std #10
Comments
I like the idea. I guess for sync-std we can offer another trait
but then the library will dependent on std and async-std and won't compile at all for no_std, right? maybe we should use the serde.rs trait also, https://docs.serde.rs/serde/ser/trait.Serialize.html after all its a serialization library. |
The idea of using serde is interesting, indeed. Though replacing rudis struct de-/ser code will be a massive task. First I want to think about how async request shall work though, I'm still not at a point where I have a presentable solution. |
Actually Rudis code used packet_struct library, which already uses serde, the Serialize and Deserialize are coming from there. |
Too bad that all of rudis stuff is not maintained. Like, for many that's a no-go. @rudib if you read this, please consider to at list add your crates to the bus.
Yes! |
I am totally fine with that |
Hi, what do you think of offering a nicer API for std builds? My ideas so far:
Read
&Write
into a MSP Connection:Having a fetch method on the
MspConnection
as well, which returns anenum MspMessages
Offering an async interface. (This I don't know yet how to make it nice)
This are just some quick ideas of my head, what do you think about it?
The text was updated successfully, but these errors were encountered: