diff --git a/60_Mastermind/rust/Cargo.toml b/60_Mastermind/rust/Mastermind/Cargo.toml similarity index 89% rename from 60_Mastermind/rust/Cargo.toml rename to 60_Mastermind/rust/Mastermind/Cargo.toml index 3b1d02f5..f7595005 100644 --- a/60_Mastermind/rust/Cargo.toml +++ b/60_Mastermind/rust/Mastermind/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "rust" +name = "Mastermind" version = "0.1.0" edition = "2021" diff --git a/60_Mastermind/rust/README.md b/60_Mastermind/rust/Mastermind/README.md similarity index 100% rename from 60_Mastermind/rust/README.md rename to 60_Mastermind/rust/Mastermind/README.md diff --git a/60_Mastermind/rust/src/main.rs b/60_Mastermind/rust/Mastermind/src/main.rs similarity index 100% rename from 60_Mastermind/rust/src/main.rs rename to 60_Mastermind/rust/Mastermind/src/main.rs diff --git a/60_Mastermind/rust/Mastermind_refactored_for_conventions/Cargo.toml b/60_Mastermind/rust/Mastermind_refactored_for_conventions/Cargo.toml new file mode 100644 index 00000000..bd163f9c --- /dev/null +++ b/60_Mastermind/rust/Mastermind_refactored_for_conventions/Cargo.toml @@ -0,0 +1,8 @@ +[package] +name = "Mastermind_refactored_for_conventions" +version = "0.1.0" +edition = "2021" + +# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html + +[dependencies] diff --git a/60_Mastermind/rust/Mastermind_refactored_for_conventions/README.md b/60_Mastermind/rust/Mastermind_refactored_for_conventions/README.md new file mode 100644 index 00000000..7e85f9a1 --- /dev/null +++ b/60_Mastermind/rust/Mastermind_refactored_for_conventions/README.md @@ -0,0 +1,3 @@ +Original source downloaded [from Vintage Basic](http://www.vintage-basic.net/games.html) + +Conversion to [Rust](https://www.rust-lang.org/) by Anthony Rubick [AnthonyMichaelTDM](https://github.com/AnthonyMichaelTDM) diff --git a/60_Mastermind/rust/Mastermind_refactored_for_conventions/src/main.rs b/60_Mastermind/rust/Mastermind_refactored_for_conventions/src/main.rs new file mode 100644 index 00000000..e7a11a96 --- /dev/null +++ b/60_Mastermind/rust/Mastermind_refactored_for_conventions/src/main.rs @@ -0,0 +1,3 @@ +fn main() { + println!("Hello, world!"); +}