cargo init

This commit is contained in:
Jeremy Soller 2023-09-29 09:24:35 -06:00
parent 8c71a4e27e
commit ba83df34ff
No known key found for this signature in database
GPG key ID: DCFCA852D3906975
3 changed files with 12 additions and 14 deletions

15
.gitignore vendored
View file

@ -1,14 +1 @@
# 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 = "cosmic-greeter"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]

3
src/main.rs Normal file
View file

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