2023-01-21 04:40:31 +00:00
|
|
|
#![deny(clippy::all)]
|
|
|
|
#![warn(clippy::cargo, clippy::pedantic)]
|
2023-01-27 00:36:06 +00:00
|
|
|
#![allow(
|
2023-02-06 00:13:58 +00:00
|
|
|
clippy::cargo_common_metadata,
|
2023-01-27 00:36:06 +00:00
|
|
|
clippy::match_bool,
|
2023-02-03 19:15:20 +00:00
|
|
|
clippy::module_name_repetitions,
|
|
|
|
clippy::multiple_crate_versions,
|
|
|
|
clippy::needless_pass_by_value
|
2023-01-27 00:36:06 +00:00
|
|
|
)]
|
2023-01-19 02:11:47 +00:00
|
|
|
|
2023-01-24 07:05:54 +00:00
|
|
|
use std::process::ExitCode;
|
|
|
|
|
2023-01-21 03:01:02 +00:00
|
|
|
use anyhow::Result;
|
2023-01-19 01:47:14 +00:00
|
|
|
use clap::Parser;
|
|
|
|
|
2023-02-10 11:14:28 +00:00
|
|
|
pub(crate) mod cli;
|
|
|
|
pub(crate) mod gen;
|
|
|
|
pub(crate) mod utils;
|
|
|
|
|
|
|
|
#[cfg(test)]
|
|
|
|
mod tests;
|
2023-01-19 01:47:14 +00:00
|
|
|
|
|
|
|
use cli::Cli;
|
|
|
|
|
2023-02-13 14:28:18 +00:00
|
|
|
#[tokio::main(flavor = "multi_thread")]
|
2023-02-03 19:15:20 +00:00
|
|
|
async fn main() -> Result<ExitCode> {
|
|
|
|
Cli::parse().run().await
|
2023-01-19 01:47:14 +00:00
|
|
|
}
|