Clippy, fmt, configs

This commit is contained in:
Jonathan Kelley committed 2024-09-17 17:45:21 -07:00
1 parent c5c05b0997
commit 33841c054d
2 files changed
+14 -4

No files matched your search

+13 -3
View File
@@ -7,9 +7,19 @@ use std::path::PathBuf;
use std::str::FromStr;
#[derive(
Copy, Clone, Hash, PartialEq, Eq, PartialOrd, Ord, Serialize, Deserialize, Debug, Default,
Copy,
Clone,
Hash,
PartialEq,
Eq,
PartialOrd,
Ord,
Serialize,
Deserialize,
Debug,
Default,
clap::ValueEnum,
)]
#[derive(clap::ValueEnum)]
#[non_exhaustive]
pub enum Platform {
/// Targeting the web platform using WASM
@@ -29,7 +39,7 @@ pub enum Platform {
Fullstack,
/// Targeting the static generation platform using SSR and Dioxus-Fullstack
#[ clap(name = "static-generation")]
#[clap(name = "static-generation")]
#[serde(rename = "static-generation")]
StaticGeneration,