Cargo init

trunk
Alona EM 2022-06-30 15:31:11 +01:00
parent 490b1cdc52
commit 0d04d6af5e
3 changed files with 12 additions and 16 deletions

17
.gitignore vendored
View File

@ -1,16 +1 @@
# ---> Rust
# Generated by Cargo
# will have compiled files and executables
debug/
target/
# Remove Cargo.lock from gitignore if creating an executable, leave it for libraries
# More information here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html
Cargo.lock
# These are backup files generated by rustfmt
**/*.rs.bk
# MSVC Windows builds of rustc generate these, which store debugging information
*.pdb
/target

8
Cargo.toml Normal file
View File

@ -0,0 +1,8 @@
[package]
name = "gttg"
version = "0.1.0"
edition = "2021"
license = "0.0.0"
repository = "https://gitea.treehouse.systems/aDot/gttg"
[dependencies]

3
src/main.rs Normal file
View File

@ -0,0 +1,3 @@
fn main() {
println!("Hello, world!");
}