cargo-msrv 0.19.1

Find your minimum supported Rust version (MSRV)!
Documentation
use clap::Args;

#[derive(Debug, Args)]
#[command(next_help_heading = "Custom check options")]
pub struct CustomCheckOpts {
    /// Forwards the provided features to cargo, when running cargo-msrv with the default compatibility
    /// check command.
    ///
    /// If a custom compatibility check command is used, this option is ignored.
    #[arg(long, value_delimiter = ' ')]
    pub features: Option<Vec<String>>,

    /// Forwards the --all-features flag to cargo, when running cargo-msrv with the default compatibility
    /// check command.
    ///
    /// If a custom compatibility check command is used, this option is ignored.
    #[arg(long)]
    pub all_features: bool,

    /// Forwards the --no-default-features flag to cargo, when running cargo-msrv with the default compatibility
    /// check command.
    ///
    /// If a custom compatibility check command is used, this option is ignored.
    #[arg(long)]
    pub no_default_features: bool,

    /// Supply a custom command to be used by cargo msrv.
    /// Example: `cargo check --ignore-rust-version` to ignore the `rust-version` field of crates.
    /// Note that `--ignore-rust-version` is only available on Rust >= 1.56
    #[arg(last = true)]
    pub custom_check_opts: Option<Vec<String>>,
}