From 595556a089057993604485070f0f12cc2952e01d Mon Sep 17 00:00:00 2001 From: "Adam T. Carpenter" Date: Wed, 8 Nov 2023 22:50:42 -0500 Subject: feat: rust server --- src/main.rs | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/main.rs (limited to 'src') 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 = Vec::new(); + if test.len() == 0 {} + + //Server::bind(([0, 0, 0, 0], 8000u16)).serve().await.expect("failed to start server"); +} + +async fn hello() { todo!()} + + -- cgit v1.2.3