Initial Cargo Setup
This commit is contained in:
parent
447cf55401
commit
710fa43083
12
.gitignore
vendored
12
.gitignore
vendored
@ -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
7
server/Cargo.lock
generated
Normal 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
8
server/Cargo.toml
Normal 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
3
server/src/main.rs
Normal file
@ -0,0 +1,3 @@
|
||||
fn main() {
|
||||
println!("Hello, world!");
|
||||
}
|
Loading…
Reference in New Issue
Block a user