lambda-microvm-hook-server 0.1.0

Hook server for supervising commands in AWS Lambda MicroVMs
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use clap::Parser;
use lambda_microvm_hook_server::{MicroVmArgs, run_microvm};
use std::process::ExitCode;

#[tokio::main]
async fn main() -> ExitCode {
    match run_microvm(MicroVmArgs::parse()).await {
        Ok(()) => ExitCode::SUCCESS,
        Err(error) => {
            eprintln!("Error: {error}");
            ExitCode::FAILURE
        }
    }
}