Skip to content

Commit

Permalink
fix: add Debug for some JSR structs (#376)
Browse files Browse the repository at this point in the history
  • Loading branch information
dsherret authored Feb 12, 2024
1 parent d74a037 commit 6cbeae1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/packages.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,17 @@ use serde::Serialize;

use crate::ModuleInfo;

#[derive(Serialize, Deserialize, Clone)]
#[derive(Debug, Serialize, Deserialize, Clone)]
pub struct JsrPackageInfo {
pub versions: HashMap<Version, JsrPackageInfoVersion>,
}

#[derive(Serialize, Deserialize, Clone, Default)]
#[derive(Debug, Serialize, Deserialize, Clone, Default)]
pub struct JsrPackageInfoVersion {
// no fields yet
// no used fields yet
}

#[derive(Serialize, Deserialize, Clone, Default)]
#[derive(Debug, Serialize, Deserialize, Clone, Default)]
pub struct JsrPackageVersionInfo {
// ensure the fields on here are resilient to change
#[serde(default)]
Expand Down

0 comments on commit 6cbeae1

Please sign in to comment.