-
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Work with crates? #19
Comments
@Yevgnen Thanks for opening this issue! From an initial look, it looks like I agree that this is a great use case for this project, since In terms of changes required in this project, I think the simplest way would be to keep a separate list (or hashset) of workspace-specific examples -- note that we could probably determine such examples based on the presence of a Again, a PR to achieve this would be very welcome. I will also look into this once I have some free time, since it seems like this should be a relatively straightforward change, that should hopefully be pretty simple to implement at least. |
Hi @Yevgnen, I've been looking into this recently, and just a note that the terminology workspaces might not be the exact use case here -- I believe that the actual scenario would be to support Cargo crates with binary targets. A very simplified project or folder structure could be as follows:
A few additional notes for clarification:
Hope this helps. I'm underway with the new release to support this feature request, and it should be rolling out shortly. |
@Yevgnen This feature request has been accepted and should be available as part of I have tested so far with the With projects such as Cheers, and have a great Monday! 🎉 |
Is your feature request related to a problem? Please describe.
Some libraries like tract and axum use workspaces to indicate examples, but current
cargo-rx
does not seem to able to identify them.Describe the solution you'd like
Identify workspaces for examples based on directory names?
Additional context
No.
The text was updated successfully, but these errors were encountered: