diff --git a/Cargo.lock b/Cargo.lock index 66d3cd8..8cdfe97 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1842,8 +1842,13 @@ dependencies = [ name = "example-try-rust-webapp" version = "0.1.0" dependencies = [ + "base64 0.22.1", + "env_logger", "harmony", "harmony_cli", + "harmony_macros", + "harmony_types", + "log", "tokio", "url", ] 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..6e1ab63 100644 --- a/examples/try_rust_webapp/src/main.rs +++ b/examples/try_rust_webapp/src/main.rs @@ -7,12 +7,11 @@ 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() {