dora-coordinator 1.0.1

`dora` goal is to be a low latency, composable, and distributed data flow.
Documentation
use dora_message::{
    BuildId,
    cli_to_coordinator::ControlRequest,
    coordinator_to_cli::ControlRequestReply,
    id::{DataId, NodeId},
};
use tokio::sync::{mpsc, oneshot};
use uuid::Uuid;

#[derive(Debug)]
pub enum ControlEvent {
    IncomingRequest {
        request: Box<ControlRequest>,
        reply_sender: oneshot::Sender<eyre::Result<ControlRequestReply>>,
    },
    LogSubscribe {
        dataflow_id: Uuid,
        level: log::LevelFilter,
        sender: mpsc::Sender<String>,
        /// Sends `true` if the dataflow exists, `false` otherwise.
        found_tx: oneshot::Sender<bool>,
    },
    BuildLogSubscribe {
        build_id: BuildId,
        level: log::LevelFilter,
        sender: mpsc::Sender<String>,
        /// Sends `true` if the build exists, `false` otherwise.
        found_tx: oneshot::Sender<bool>,
    },
    TopicSubscribe {
        dataflow_id: Uuid,
        topics: Vec<(NodeId, DataId)>,
        sender: mpsc::Sender<crate::topic_subscriber::TopicFrame>,
        done_tx: oneshot::Sender<Result<Uuid, String>>,
    },
    TopicCheck {
        dataflow_id: Uuid,
        topics: Vec<(NodeId, DataId)>,
        found_tx: oneshot::Sender<bool>,
    },
    TopicUnsubscribe {
        subscription_id: Uuid,
        done_tx: oneshot::Sender<()>,
    },
}