tracel-xtask 4.14.1

Reusable and Extensible xtask commands to manage repositories.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use strum::{Display, EnumIter, EnumString};

#[derive(EnumString, EnumIter, Default, Display, Clone, PartialEq, clap::ValueEnum)]
#[strum(serialize_all = "lowercase")]
pub enum Context {
    /// Set the context to all
    All,
    #[strum(to_string = "no-std")]
    /// Set the context to no-std (no Rust standard library available).
    NoStd,
    /// Set the context to std (Rust standard library is available).
    #[default]
    Std,
}