rustsec-admin 0.5.3

Admin utility for maintaining the RustSec Advisory Database
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! `rustsec-admin version` subcommand

#![allow(clippy::never_loop)]

use super::AdminCmd;
use abscissa_core::{Command, Options, Runnable};

/// `rustsec-admin version` subcommand
#[derive(Command, Debug, Default, Options)]
pub struct VersionCmd {}

impl Runnable for VersionCmd {
    /// Print version message
    fn run(&self) {
        println!("rustsec-admin {}", AdminCmd::version());
    }
}