From 05d1e8c8d1b74068cc6d64d2aadd1c22126c5760 Mon Sep 17 00:00:00 2001 From: Victor Bustamante Date: Fri, 6 Oct 2023 12:21:08 -0700 Subject: [PATCH] =?UTF-8?q?fix(si-posthog-rs):=20=F0=9F=AB=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Victor Bustamante Co-authored-by: Nick Gerace --- lib/si-posthog-rs/Cargo.toml | 2 +- lib/si-posthog-rs/src/client.rs | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/si-posthog-rs/Cargo.toml b/lib/si-posthog-rs/Cargo.toml index f37dc84220..c356212a6f 100644 --- a/lib/si-posthog-rs/Cargo.toml +++ b/lib/si-posthog-rs/Cargo.toml @@ -12,7 +12,7 @@ remain = { workspace = true } reqwest = { workspace = true } serde = { workspace = true } serde_json = { workspace = true } -strum = { worspace = true } +strum = { workspace = true } telemetry = { path = "../../lib/telemetry-rs" } thiserror = { workspace = true } tokio = { workspace = true } diff --git a/lib/si-posthog-rs/src/client.rs b/lib/si-posthog-rs/src/client.rs index 0e69cc20c6..b365e810ad 100644 --- a/lib/si-posthog-rs/src/client.rs +++ b/lib/si-posthog-rs/src/client.rs @@ -1,6 +1,7 @@ use once_cell::sync::Lazy; use std::collections::HashMap; use std::time::Duration; +use strum::Display; use tokio::sync::mpsc::UnboundedSender; use tokio::sync::Mutex; use tokio::time::Instant; @@ -12,7 +13,7 @@ use crate::{ PosthogConfig, }; -#[derive(Debug, strum::Display)] +#[derive(Debug, Display)] #[strum(serialize_all = "snake_case")] pub enum FeatureFlag { Secrets,