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

rustlings init in a workspace #2073

Closed
senekor opened this issue Aug 7, 2024 · 3 comments
Closed

rustlings init in a workspace #2073

senekor opened this issue Aug 7, 2024 · 3 comments

Comments

@senekor
Copy link
Contributor

senekor commented Aug 7, 2024

I would like to have rustlings part of several kinds of exercises during a workshop. So I'd like to provide students with a template repository they can clone. Is it feasible to have the rustlings exercises as part of a workspace? As of right now, rustlings seems to refuse initializing in a workspace. Well, it just says there is a Cargo.toml. It makes sense that rustlings shouldn't be within another package. But a workspace should be fine, right?

If so, I could try to extend rustlings such that it doesn't refuse initialization in a workspace.

@senekor
Copy link
Contributor Author

senekor commented Aug 7, 2024

I found the relevant line in the source code. Maybe it could be specified what these problems are? I know that the workspace will need to contain "rustlings" in the members key. I think that should be achievable though.

@mo8it
Copy link
Contributor

mo8it commented Aug 8, 2024

Fixed in 8df66f7

@mo8it mo8it closed this as completed Aug 8, 2024
@senekor
Copy link
Contributor Author

senekor commented Aug 8, 2024

Thanks!

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