Skip to content

Commit

Permalink
clippy...
Browse files Browse the repository at this point in the history
  • Loading branch information
jkelleyrtp committed Sep 18, 2024
1 parent 3573e8a commit e689ec3
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions packages/cli/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,32 +9,32 @@ use std::str::FromStr;
#[derive(
Copy, Clone, Hash, PartialEq, Eq, PartialOrd, Ord, Serialize, Deserialize, Debug, Default,
)]
#[cfg_attr(feature = "cli", derive(clap::ValueEnum))]
#[derive(clap::ValueEnum)]
#[non_exhaustive]
pub enum Platform {
/// Targeting the web platform using WASM
#[cfg_attr(feature = "cli", clap(name = "web"))]
#[clap(name = "web")]
#[serde(rename = "web")]
#[default]
Web,

/// Targeting the desktop platform using Tao/Wry-based webview
#[cfg_attr(feature = "cli", clap(name = "desktop"))]
#[clap(name = "desktop")]
#[serde(rename = "desktop")]
Desktop,

/// Targeting the server platform using Axum and Dioxus-Fullstack
#[cfg_attr(feature = "cli", clap(name = "fullstack"))]
#[clap(name = "fullstack")]
#[serde(rename = "fullstack")]
Fullstack,

/// Targeting the static generation platform using SSR and Dioxus-Fullstack
#[cfg_attr(feature = "cli", clap(name = "static-generation"))]
#[ clap(name = "static-generation")]
#[serde(rename = "static-generation")]
StaticGeneration,

/// Targeting the static generation platform using SSR and Dioxus-Fullstack
#[cfg_attr(feature = "cli", clap(name = "liveview"))]
#[clap(name = "liveview")]
#[serde(rename = "liveview")]
Liveview,
}
Expand Down

0 comments on commit e689ec3

Please sign in to comment.