WIP: Rust Server #2

Draft
luke wants to merge 5 commits from server-dev into main
4 changed files with 30 additions and 0 deletions
Showing only changes of commit 710fa43083 - Show all commits

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!");
}