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

Use wasmer crate without clap dependency? #4750

Closed
dsherret opened this issue May 26, 2024 · 2 comments · Fixed by #4765
Closed

Use wasmer crate without clap dependency? #4750

dsherret opened this issue May 26, 2024 · 2 comments · Fixed by #4765
Labels
priority-high High priority issue ❓ question I've a question!
Milestone

Comments

@dsherret
Copy link
Contributor

Summary

The wasmer 4.3.1 crate depends on wasmer-types 4.3.1, which depends on webc 6.0.0-alpha9, which has a pinned dependency on clap =4.4.11 -- https://crates.io/crates/webc/6.0.0-alpha9/dependencies - This causes issues when dependending on clap 4.5x.

Is there a way to use the wasmer crate without clap?

@dsherret dsherret added the ❓ question I've a question! label May 26, 2024
@syrusakbary
Copy link
Member

That’s a great call, I don’t think Wasmer should depend on clap at all. We’ll investigate and fix

@syrusakbary
Copy link
Member

Ok, after further investigation, wasmer-wasix depends on webc which depends on clap.

clap shall not be a mandatory dependency on webc. We should have a webc-cli crate for that, and remove any clap dependencies from webc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority-high High priority issue ❓ question I've a question!
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants