cargo_whatfeatures/printer/yank_status.rs
1/// When to show yanked crates
2#[derive(Copy, Clone, Debug, PartialEq)]
3pub enum YankStatus {
4 /// Only show yanked crates
5 Only,
6 /// Exclude all yanked crates
7 Exclude,
8 /// Include yanked crates
9 Include,
10}
11
12impl Default for YankStatus {
13 fn default() -> Self {
14 Self::Exclude
15 }
16}