From a603609d2abe3e34bf33bb6c3091a729d04cc56c Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Mon, 9 Mar 2026 16:08:44 -0700 Subject: [PATCH] server: Add the most minimal rust program possible This is just the "hello, world" program one gets from running "cargo init server" (which is literally what I did here). I also added the .gitignore file for files that will be generated by "cargo run". --- .gitignore | 2 ++ Cargo.toml | 6 ++++++ src/main.rs | 3 +++ 3 files changed, 11 insertions(+) create mode 100644 .gitignore create mode 100644 Cargo.toml create mode 100644 src/main.rs diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..fa8d85a --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +Cargo.lock +target diff --git a/Cargo.toml b/Cargo.toml new file mode 100644 index 0000000..ff06670 --- /dev/null +++ b/Cargo.toml @@ -0,0 +1,6 @@ +[package] +name = "server" +version = "0.1.0" +edition = "2024" + +[dependencies] diff --git a/src/main.rs b/src/main.rs new file mode 100644 index 0000000..e7a11a9 --- /dev/null +++ b/src/main.rs @@ -0,0 +1,3 @@ +fn main() { + println!("Hello, world!"); +} -- 2.45.2