rustuse-cli 0.2.0-beta.1

Command-line tooling for adopting, managing, and maintaining RustUse crates.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
pub(crate) enum ReportSubject {
    Facade,
    Fleet,
    // Crate,
}

impl ReportSubject {
    pub(crate) const fn as_str(self) -> &'static str {
        match self {
            Self::Facade => "facade",
            Self::Fleet => "fleet",
            // Self::Crate => "crate",
        }
    }
}