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

Programmatic usage #3

Open
numfin opened this issue Jun 7, 2024 · 1 comment
Open

Programmatic usage #3

numfin opened this issue Jun 7, 2024 · 1 comment

Comments

@numfin
Copy link

numfin commented Jun 7, 2024

Could you make stylance-cli functionality into library so i can put it inside build.rs ?
This way i can use any version (even from git) of stylance generator functionality without installing binary on system

@basro
Copy link
Owner

basro commented Jun 8, 2024

I have nothing against supporting library usage of this lib so I'll consider adding this in the future.

I recommend checking out cargo-run-bin which is a nice tool for installing binaries per rust project instead of globally, it could serve as an alternative workaround for your issue. I have not tried it with stylance but have used it with other binary tools with success.

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

No branches or pull requests

2 participants