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

Changes to cargo to allow to depend only on the base client #3

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

huevosabio
Copy link

Made some small changes in the feature flags so that it is possible to compile or depend only on the base client.

I am building a [Godot client] and want to keep the ability to compile cross-platform, including web. The full client version of convex-rs depends on libraries that cannot be compiled to wasm.


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@nipunn1313
Copy link
Collaborator

wild idea - what do you think about splitting out the base client into its own crate? That might make this a bit smoother than the feature gating technique.

@nipunn1313
Copy link
Collaborator

I may be able to spend some time on that approach - but wanted to check if that would work for you.

Out of curiosity, what are you using the base client for?

@huevosabio
Copy link
Author

I don't oppose to having the base client being its own crate! That may make everything easier. But it's up to you, is your product after all :)

I am building a godot client for convex, using the rust base client: https://github.com/clementine-tech/convex-gd

This is so I can power games with AI workflows :)

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