Clippy, fmt, configs

This commit is contained in:
Jonathan Kelley 2024-09-17 17:45:21 -07:00
parent c5c05b0997
commit 33841c054d
No known key found for this signature in database
GPG key ID: 1FBB50F7EB0A08BE
2 changed files with 14 additions and 4 deletions

View file

@ -120,7 +120,7 @@ built = { version = "=0.7.4", features = ["git2"] }
default = []
plugin = []
tokio-console = ["dep:console-subscriber"]
# optimizations = ["dep:wasm-opt"]
optimizations = ["dep:wasm-opt"]
[[bin]]
path = "src/main.rs"

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