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

v0.3.0: Support for nested crates with binary targets #20

Merged
merged 14 commits into from
Mar 13, 2023

Conversation

rnag
Copy link
Owner

@rnag rnag commented Mar 10, 2023

Closes #19

Changes

Support for Cargo crates with binary targets.

  • The Cargo crates would be nested (as sub-folders) within the examples/ folder
  • Each crate would contain its own Cargo.toml file
  • The crate would normally be run with cargo run, and the default binary target would then be src/main.rs
  • For multiple binaries, we could define separate entries for [[bin]] in a crate's Cargo.toml file, and then cargo-rx should display each binary target as a separate example to run

@rnag rnag changed the title v0.3.0: Support binary crates (Linux/Mac) v0.3.0: Support nested crates with binary targets Mar 13, 2023
@rnag rnag changed the title v0.3.0: Support nested crates with binary targets v0.3.0: Support for nested crates with binary targets Mar 13, 2023
@rnag rnag merged commit 957c790 into main Mar 13, 2023
@rnag rnag deleted the v0.3.0-support-bin-crates branch March 13, 2023 21:21
@rnag rnag restored the v0.3.0-support-bin-crates branch April 15, 2023 03:36
@rnag rnag deleted the v0.3.0-support-bin-crates branch April 15, 2023 03:36
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

Successfully merging this pull request may close these issues.

Work with crates?
1 participant