Initial Cargo Setup

This commit is contained in:
Luke Harding 2024-04-30 22:40:39 -04:00
parent 447cf55401
commit 710fa43083
4 changed files with 30 additions and 0 deletions

12
.gitignore vendored
View File

@ -1,3 +1,7 @@
#---------------
# Astro Stuff
#---------------
# build output
dist/
# generated types
@ -12,6 +16,14 @@ yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
#--------------
# Rust/Cargo
#--------------
target/
#--------
# Misc
#--------
# environment variables
.env

7
server/Cargo.lock generated Normal file
View File

@ -0,0 +1,7 @@
# This file is automatically @generated by Cargo.
# It is not intended for manual editing.
version = 3
[[package]]
name = "server"
version = "0.1.0"

8
server/Cargo.toml Normal file
View File

@ -0,0 +1,8 @@
[package]
name = "server"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]

3
server/src/main.rs Normal file
View File

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