Skip to content

Commit d0bd8a5

Browse files
committed
skidder: Derive serde traits for Repo and Config
1 parent eb5ca34 commit d0bd8a5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

skidder/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const LIB_EXTENSION: &str = "dll";
2222

2323
mod build;
2424

25-
#[derive(Debug)]
25+
#[derive(Debug, Serialize, Deserialize)]
2626
pub struct Config {
2727
pub repos: Vec<Repo>,
2828
pub index: PathBuf,
@@ -116,7 +116,7 @@ impl Config {
116116
}
117117
}
118118

119-
#[derive(Clone, Debug)]
119+
#[derive(Clone, Debug, Serialize, Deserialize)]
120120
pub enum Repo {
121121
Git {
122122
name: String,

0 commit comments

Comments
 (0)