Skip to content

Commit

Permalink
fix: make metapac unmanaged output backends in lowercase
Browse files Browse the repository at this point in the history
  • Loading branch information
ripytide committed Nov 14, 2024
1 parent f8e0f10 commit 3725e88
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ All notable changes to this project will be documented in this file.
### Fixed

- Fixed WinGet Command not working (#49)
- Fixed `metapac unmanaged` output backend names in lowercase (#49)

## [0.2.2] - 2024-11-10

Expand Down
2 changes: 1 addition & 1 deletion src/backends/all.rs
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,9 @@ macro_rules! package_ids {
($($backend:ident),*) => {
#[derive(Debug, Clone, Default, Serialize)]
#[allow(non_snake_case)]
#[serde(rename_all = "lowercase")]
pub struct PackageIds {
$(
#[serde(skip_serializing_if = "BTreeSet::is_empty")]
pub $backend: BTreeSet<String>,
)*
}
Expand Down

0 comments on commit 3725e88

Please sign in to comment.