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/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); 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,