dora-cli 0.5.0-rc0

`dora` goal is to be a low latency, composable, and distributed data flow.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use eyre::Context;

use super::Executable;

#[derive(Debug, clap::Args)]
/// Run runtime
pub struct Runtime;

impl Executable for Runtime {
    async fn execute(self) -> eyre::Result<()> {
        // No tracing: Do not set the runtime in the cli.
        // ref: 72b4be808122574fcfda69650954318e0355cc7b cli::run
        tokio::task::spawn_blocking(|| dora_runtime::main().context("Failed to run dora-runtime"))
            .await
            .context("runtime task panicked")?
    }
}