From fd7d7a568c94f0f1f53bbaddac7e32d8c1b5bc22 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Mon, 1 Jan 2024 20:23:32 -0800 Subject: [PATCH 1/2] Emit dep-info for probe.rs in case sccache needs it --- build.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.rs b/build.rs index 1ec5c304..0b995d8e 100644 --- a/build.rs +++ b/build.rs @@ -84,7 +84,7 @@ fn compile_probe(rustc_bootstrap: bool) -> bool { .arg("--edition=2018") .arg("--crate-name=thiserror") .arg("--crate-type=lib") - .arg("--emit=metadata") + .arg("--emit=dep-info,metadata") .arg("--out-dir") .arg(out_dir) .arg(probefile); From 6089273df58c7a7d2f41b91dc18c8fe8397de104 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Mon, 1 Jan 2024 20:25:58 -0800 Subject: [PATCH 2/2] Release 1.0.55 --- Cargo.toml | 4 ++-- impl/Cargo.toml | 2 +- src/lib.rs | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 5a587ffa..0228acc3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "thiserror" -version = "1.0.54" +version = "1.0.55" authors = ["David Tolnay "] categories = ["rust-patterns"] description = "derive(Error)" @@ -12,7 +12,7 @@ repository = "https://github.com/dtolnay/thiserror" rust-version = "1.56" [dependencies] -thiserror-impl = { version = "=1.0.54", path = "impl" } +thiserror-impl = { version = "=1.0.55", path = "impl" } [dev-dependencies] anyhow = "1.0.73" diff --git a/impl/Cargo.toml b/impl/Cargo.toml index efc711df..3c5c7719 100644 --- a/impl/Cargo.toml +++ b/impl/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "thiserror-impl" -version = "1.0.54" +version = "1.0.55" authors = ["David Tolnay "] description = "Implementation detail of the `thiserror` crate" edition = "2021" diff --git a/src/lib.rs b/src/lib.rs index 7f6df278..727f2f84 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -228,7 +228,7 @@ //! //! [`anyhow`]: https://github.com/dtolnay/anyhow -#![doc(html_root_url = "https://docs.rs/thiserror/1.0.54")] +#![doc(html_root_url = "https://docs.rs/thiserror/1.0.55")] #![allow( clippy::module_name_repetitions, clippy::needless_lifetimes,