battleship game in rust

Add rust project

+37
+21
.gitignore
··· 1 + # Generated by Cargo 2 + # will have compiled files and executables 3 + debug 4 + target 5 + 6 + # These are backup files generated by rustfmt 7 + **/*.rs.bk 8 + 9 + # MSVC Windows builds of rustc generate these, which store debugging information 10 + *.pdb 11 + 12 + # Generated by cargo mutants 13 + # Contains mutation testing data 14 + **/mutants.out*/ 15 + 16 + # RustRover 17 + # JetBrains specific template is maintained in a separate JetBrains.gitignore that can 18 + # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore 19 + # and can be added to the global gitignore or merged into this file. For a more nuclear 20 + # option (not recommended) you can uncomment the following to ignore the entire idea folder. 21 + #.idea/
+7
Cargo.lock
··· 1 + # This file is automatically @generated by Cargo. 2 + # It is not intended for manual editing. 3 + version = 4 4 + 5 + [[package]] 6 + name = "navy" 7 + version = "0.1.0"
+6
Cargo.toml
··· 1 + [package] 2 + name = "navy" 3 + version = "0.1.0" 4 + edition = "2024" 5 + 6 + [dependencies]
+3
src/main.rs
··· 1 + fn main() { 2 + println!("Hello, world!"); 3 + }