summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAdam T. Carpenter <atc@53hor.net>2023-11-08 22:50:42 -0500
committerAdam T. Carpenter <atc@53hor.net>2023-11-08 22:50:42 -0500
commit595556a089057993604485070f0f12cc2952e01d (patch)
treeee43428e704f0fad1de8ce9de6a941b47680c824 /src
parent17bf761fe95b621e66f1b023c6b5f229e488daa3 (diff)
downloadcarpentertutoring-595556a089057993604485070f0f12cc2952e01d.tar.xz
carpentertutoring-595556a089057993604485070f0f12cc2952e01d.zip
feat: rust serverdev
Diffstat (limited to 'src')
-rw-r--r--src/main.rs16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs
new file mode 100644
index 0000000..06e4243
--- /dev/null
+++ b/src/main.rs
@@ -0,0 +1,16 @@
+use axum::Router;
+use axum::routing::get;
+use axum::Server;
+
+#[tokio::main]
+async fn main() {
+ //let app = Router::new().route("/", get(hello));
+ let test: Vec<String> = Vec::new();
+ if test.len() == 0 {}
+
+ //Server::bind(([0, 0, 0, 0], 8000u16)).serve().await.expect("failed to start server");
+}
+
+async fn hello() { todo!()}
+
+