From fde0cb0a0f75c7118a07ab38c83b05e0f93fa3a0 Mon Sep 17 00:00:00 2001 From: Willem Date: Fri, 5 Sep 2025 11:32:28 -0400 Subject: [PATCH] fix: example url and cargo incorrect --- examples/try_rust_webapp/Cargo.toml | 13 +++++++++---- examples/try_rust_webapp/src/main.rs | 8 ++++---- 2 files changed, 13 insertions(+), 8 deletions(-) diff --git a/examples/try_rust_webapp/Cargo.toml b/examples/try_rust_webapp/Cargo.toml index 883de79..fc4f8a1 100644 --- a/examples/try_rust_webapp/Cargo.toml +++ b/examples/try_rust_webapp/Cargo.toml @@ -6,7 +6,12 @@ readme.workspace = true license.workspace = true [dependencies] -harmony = { version = "0.1.0", path = "../../harmony" } -harmony_cli = { version = "0.1.0", path = "../../harmony_cli" } -tokio.workspace = true -url.workspace = true +harmony = { path = "../../harmony" } +harmony_cli = { path = "../../harmony_cli" } +harmony_types = { path = "../../harmony_types" } +harmony_macros = { path = "../../harmony_macros" } +tokio = { workspace = true } +log = { workspace = true } +env_logger = { workspace = true } +url = { workspace = true } +base64.workspace = true diff --git a/examples/try_rust_webapp/src/main.rs b/examples/try_rust_webapp/src/main.rs index 22175e3..a9ce8e0 100644 --- a/examples/try_rust_webapp/src/main.rs +++ b/examples/try_rust_webapp/src/main.rs @@ -7,13 +7,13 @@ use harmony::{ ApplicationScore, RustWebFramework, RustWebapp, features::{ContinuousDelivery, Monitoring}, }, - monitoring::alert_channel::{ - discord_alert_channel::DiscordWebhook, webhook_receiver::WebhookReceiver, - }, + monitoring::alert_channel::discord_alert_channel::DiscordWebhook, }, - topology::{K8sAnywhereTopology, Url}, + topology::K8sAnywhereTopology, }; +use harmony_types::net::Url; + #[tokio::main] async fn main() { let application = Arc::new(RustWebapp {