From bf627f60035d90cc2b48ed42aaef7843ef772169 Mon Sep 17 00:00:00 2001 From: Frank Denzer Date: Sun, 16 Jul 2023 19:45:48 +0200 Subject: [PATCH] add web target --- backend/Cargo.toml | 6 +++++- backend/{main.rs => web.rs} | 0 2 files changed, 5 insertions(+), 1 deletion(-) rename backend/{main.rs => web.rs} (100%) diff --git a/backend/Cargo.toml b/backend/Cargo.toml index 990a2ca..677db49 100644 --- a/backend/Cargo.toml +++ b/backend/Cargo.toml @@ -7,4 +7,8 @@ edition = "2021" [dependencies] actix-web ="4" -utoipa = { version = "3", features = ["actix_extras"] } \ No newline at end of file +utoipa = { version = "3", features = ["actix_extras"] } + +[[bin]] +name = "webserver" +path = "web.rs" diff --git a/backend/main.rs b/backend/web.rs similarity index 100% rename from backend/main.rs rename to backend/web.rs