Skip to content

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

Open
huevosabio wants to merge 5 commits into
get-convex:mainfrom
clementine-tech:main
Open

Changes to cargo to allow to depend only on the base client#3
huevosabio wants to merge 5 commits into
get-convex:mainfrom
clementine-tech:main

Conversation

@huevosabio

Copy link
Copy Markdown

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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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