diff --git a/Cargo.lock b/Cargo.lock index 7c5a6921..5cf18c7b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -758,7 +758,7 @@ dependencies = [ [[package]] name = "cargo-packager" -version = "0.0.0" +version = "0.1.0" dependencies = [ "ar", "base64 0.21.4", diff --git a/crates/config/src/lib.rs b/crates/config/src/lib.rs index 61c675de..e5d61095 100644 --- a/crates/config/src/lib.rs +++ b/crates/config/src/lib.rs @@ -17,10 +17,10 @@ mod category; pub use category::AppCategory; /// The type of the package we're packaging. +#[non_exhaustive] #[derive(Clone, Copy, Debug, Eq, PartialEq, Deserialize, Serialize, JsonSchema)] #[cfg_attr(feature = "clap", derive(clap::ValueEnum))] -#[non_exhaustive] -#[value(rename_all = "lowercase")] +#[cfg_attr(feature = "clap", value(rename_all = "lowercase"))] #[serde(rename_all = "lowercase")] pub enum PackageFormat { /// All available package formats for the current platform.