cargo-shuttle 0.57.3

CLI for the Shuttle platform (shuttle.dev)
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use anyhow::Result;
use cargo_shuttle::{parse_args, setup_tracing, Binary, Shuttle};

#[tokio::main]
async fn main() -> Result<()> {
    let (args, provided_path_to_init) = parse_args();

    setup_tracing(args.debug);

    Shuttle::new(Binary::CargoShuttle, args.api_env.clone())?
        .run(args, provided_path_to_init)
        .await
}