-
Notifications
You must be signed in to change notification settings - Fork 68
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
use rattler_conda_types
to parse conda version in wasm env
#1078
Comments
rattler_conda_types
rattler_conda_types
in wasm rust code
rattler_conda_types
in wasm rust coderattler_conda_types
to parse conda version in wasm env
Hey @trim21 - we actually have a starting point for you! @baszalmstra has started on TypeScript / WASM bindings here: https://github.com/baszalmstra/rattler/tree/feat/js-rattler It would be super exciting if you take that to the next level! |
Thanks, really glad to know, just receive reply from baszalmstra in another issue renovatebot/renovate#2213 (comment) and he will make a PR soon, so I think I should wait for it. And read the code on https://github.com/baszalmstra/rattler/tree/feat/js-rattler, it's based on old version of rattler_conda_types which doesn't depend on fs-err yet so it compile fine on wasm. |
I create an initial PR at: #1079 This code is rebased on the latest main. |
Checklist
What is the idea?
I'm trying to add conda support to renovatebot, which is a dependency automation tool written in nodejs.
So unfortunately, it can only use wasm or javascript.
I don't want to reinvent the wheel again so I'm trying to use
rattler_conda_types
(actuallyrattler_conda_types::Version
) to parse version defined inpixi.toml
.But I encounter a problem,
rattler_conda_types
has a requirement on tokio (rattler_conda_types -> fs-err -> tokit) which doesn't build on wasm target and there is no way to disable it.Can I get some help on this?
the cargo.toml I'm using:
and what happened:
Why is this needed?
No response
What should happen?
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: