From e5c1b2efb597bc7089e833bf570d8217c36f50c3 Mon Sep 17 00:00:00 2001 From: Toby Vincent Date: Tue, 15 Oct 2024 17:22:31 -0500 Subject: refactor: removed unused deps --- src/status.rs | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/status.rs') diff --git a/src/status.rs b/src/status.rs index 6e674c8..96f2cbd 100644 --- a/src/status.rs +++ b/src/status.rs @@ -1,6 +1,13 @@ use axum::response::sse::Event; use serde::{Deserialize, Serialize}; +pub type Receiver = tokio::sync::watch::Receiver; +pub type Sender = tokio::sync::watch::Sender; + +pub use stream::{NamedStatusStream, StatusStream}; + +pub mod stream; + #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Serialize, Deserialize)] #[serde(rename_all = "lowercase", tag = "status", content = "output")] pub enum Status { -- cgit v1.2.3-70-g09d2