From 5fd647f35601e0b0080ed110f58242d91afb719d Mon Sep 17 00:00:00 2001 From: beeinger Date: Fri, 3 May 2024 12:38:35 +0200 Subject: [PATCH] fixes to deployment --- .ubuntu/setup-copy-paste.sh | 2 +- crates/monitor_events/Cargo.toml | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.ubuntu/setup-copy-paste.sh b/.ubuntu/setup-copy-paste.sh index e98cbf6..dcbf432 100644 --- a/.ubuntu/setup-copy-paste.sh +++ b/.ubuntu/setup-copy-paste.sh @@ -10,7 +10,7 @@ sudo curl -L https://github.com/docker/compose/releases/latest/download/docker-c sudo chmod +x /usr/local/bin/docker-compose &&\ echo "RUST" &&\ -sudo apt install build-essential -y &&\ +sudo apt install build-essential pkg-config libssl-dev -y &&\ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh &&\ source "$HOME/.cargo/env" &&\ cargo install --force cargo-make &&\ diff --git a/crates/monitor_events/Cargo.toml b/crates/monitor_events/Cargo.toml index 9ea8bb2..52bc6cf 100644 --- a/crates/monitor_events/Cargo.toml +++ b/crates/monitor_events/Cargo.toml @@ -17,3 +17,7 @@ serde.workspace = true serde_json.workspace = true reqwest.workspace = true common.workspace = true + +[[bin]] +name = "monitor-events" +path = "src/main.rs"