MCPcopy Create free account
hub / github.com/Dstack-TEE/dstack / main

Function main

ct_monitor/src/main.rs:412–422  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

410
411#[tokio::main]
412async fn main() -> anyhow::Result<()> {
413 {
414 use tracing_subscriber::{fmt, EnvFilter};
415 let filter = EnvFilter::try_from_default_env().unwrap_or_else(|_| EnvFilter::new("info"));
416 fmt().with_env_filter(filter).with_ansi(false).init();
417 }
418 let args = Args::parse();
419 let mut monitor = Monitor::new(args.gateway, args.verifier_url, args.pccs_url)?;
420 monitor.run().await;
421 Ok(())
422}

Callers

nothing calls this directly

Calls 1

runMethod · 0.45

Tested by

no test coverage detected