Closed richchurcher closed 5 months ago
I cannot replicate the channel disconnect issue using the above sample, which is good news! I'll PR the prelude
I'm using to your nokio
branch and you can use/discard as you see fit, depending on plans for publishing the crate.
I was unsure about how I'd publish when designing the overall architecture so put the separate functionalities in different crates for future flexibility. If you think there's utility in having them published separately then I think that's a good direction to go in :)
I think so? I don't know if it makes the maintenance more annoying though :confused:
Ah it's 4 crates, not too much extra admin. Do you think they should be in their own repos too? I guess the issues would be in integration, but that'll not be an issue if each of the crates depends on an API compatible target version of another.
I think the rule would be, if you can conceivably see someone needing to use one without all the others, then separate repo? The whole sub-crate approach is, I suspect, going to lead to a large prelude
or figuring out which types to expose etc... so hardly an expert, but I'd opt for small crates that can be composed as required.
Realtime repo created :) https://github.com/bytemunch/bevy-realtime
This is probably my lack of familiarity with Rust crates talking, but... should it be possible to work with
bevy-realtime
frombevy-supabase
? Near as I can tell, this kind of thing is impossible due to the lack of exported types:However, if
bevy-realtime
were available separately, this isn't really an issue anymore! I'm not sure if there's some magic I'm supposed to be able to perform with thecrates/
directory to get this to work :sweat_smile:The
Cargo.toml
s incrates/
look as if they might end up being published separately, so I'm not sure if the intent is for them to be exposed as types in the base crate.