Skip to content

Commit 4053903

Browse files
committed
Bump toml to 0.9
1 parent 8a01201 commit 4053903

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ log = "0.4"
3535
clap = { version = "4.5.18", features = ["color", "derive", "cargo", "string", "wrap_help"] }
3636
regex = "1.5.6"
3737
cbindgen = { version="0.29.0", default-features=false }
38-
toml = "0.8"
38+
toml = "0.9"
3939
serde = "1.0.123"
4040
serde_derive = "1.0"
4141
serde_json = "1.0.62"

src/build.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ impl FingerPrint {
308308
let mut f = open(self.path())?;
309309
let mut cache_str = String::new();
310310
f.read_to_string(&mut cache_str)?;
311-
let cache = toml::de::from_str(&cache_str)?;
311+
let cache = toml::from_str(&cache_str)?;
312312

313313
Ok(cache)
314314
}
@@ -326,7 +326,7 @@ impl FingerPrint {
326326
hash,
327327
static_libs: self.static_libs.to_owned(),
328328
};
329-
let buf = toml::ser::to_string(&cache)?;
329+
let buf = toml::to_string(&cache)?;
330330
write(self.path(), buf)?;
331331
}
332332

0 commit comments

Comments
 (0)