Skip to content

Commit

Permalink
Bump toml version
Browse files Browse the repository at this point in the history
  • Loading branch information
lu-zero committed Jan 27, 2023
1 parent 278e78e commit 0617a91
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ log = "0.4"
clap = { version="4.0.29", features=["color", "derive", "cargo"] }
regex = "1.5.6"
cbindgen = "0.24.3"
toml = "0.5"
toml = "0.6"
serde = "1.0.123"
serde_derive = "1.0"
serde_json = "1.0.62"
Expand Down
2 changes: 1 addition & 1 deletion src/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ impl FingerPrint {
hash,
static_libs: self.static_libs.to_owned(),
};
let buf = toml::ser::to_vec(&cache)?;
let buf = toml::ser::to_string(&cache)?;
write(self.path(), buf)?;
}

Expand Down

0 comments on commit 0617a91

Please sign in to comment.