forked from MeadowlarkDAW/creek
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rename "examples" to "demos" to avoid confusion with Cargo examples
I got confused because I tried to run the player with: cargo run --examples demo_player However this did not work because demo_player is structured as a subcrate in a workspace, not as an example. Cargo examples do not have a src directory nor their own Cargo.toml: https://doc.rust-lang.org/cargo/guide/project-layout.html Unfortunately there is no way to specify dependencies only for an example. There is an open RFC for that: rust-lang/rfcs#2887 So for now, I think it is best to leave the demo applications as subcrates in a workspace, but rename the "examples" directory to "demos" so people don't think they will work with cargo run --examples
- Loading branch information
1 parent
38d00bd
commit 9e60a04
Showing
15 changed files
with
6 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.