From 9b15a9358f5460d6cbd6c9c15d10cb027bab90d9 Mon Sep 17 00:00:00 2001 From: Jay Oster Date: Sat, 18 Mar 2023 19:50:33 -0700 Subject: [PATCH] Pin thiserror to fix build on Rust 1.37.0 See: https://github.com/dtolnay/thiserror/pull/227 --- Cargo.lock | 48 ++++++++++++++++++++++++------------------------ Cargo.toml | 2 +- 2 files changed, 25 insertions(+), 25 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 2b09bde..c521760 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1,65 +1,65 @@ # This file is automatically @generated by Cargo. # It is not intended for manual editing. -version = 3 - [[package]] name = "error-iter" version = "0.4.0" dependencies = [ - "thiserror", + "thiserror 1.0.39 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "proc-macro2" -version = "1.0.51" +version = "1.0.52" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5d727cae5b39d21da60fa540906919ad737832fe0b1c165da3a34d6548c849d6" dependencies = [ - "unicode-ident", + "unicode-ident 1.0.8 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "quote" -version = "1.0.23" +version = "1.0.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8856d8364d252a14d474036ea1358d63c9e6965c8e5c1885c18f73d70bff9c7b" dependencies = [ - "proc-macro2", + "proc-macro2 1.0.52 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "syn" -version = "1.0.107" +version = "1.0.109" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1f4064b5b16e03ae50984a5a8ed5d4f8803e6bc1fd170a3cda91a1be4b18e3f5" dependencies = [ - "proc-macro2", - "quote", - "unicode-ident", + "proc-macro2 1.0.52 (registry+https://github.com/rust-lang/crates.io-index)", + "quote 1.0.26 (registry+https://github.com/rust-lang/crates.io-index)", + "unicode-ident 1.0.8 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "thiserror" -version = "1.0.38" +version = "1.0.39" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6a9cd18aa97d5c45c6603caea1da6628790b37f7a34b6ca89522331c5180fed0" dependencies = [ - "thiserror-impl", + "thiserror-impl 1.0.39 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "thiserror-impl" -version = "1.0.38" +version = "1.0.39" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1fb327af4685e4d03fa8cbcf1716380da910eeb2bb8be417e7f9fd3fb164f36f" dependencies = [ - "proc-macro2", - "quote", - "syn", + "proc-macro2 1.0.52 (registry+https://github.com/rust-lang/crates.io-index)", + "quote 1.0.26 (registry+https://github.com/rust-lang/crates.io-index)", + "syn 1.0.109 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "unicode-ident" -version = "1.0.6" +version = "1.0.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84a22b9f218b40614adcb3f4ff08b703773ad44fa9423e4e0d346d5db86e4ebc" + +[metadata] +"checksum proc-macro2 1.0.52 (registry+https://github.com/rust-lang/crates.io-index)" = "1d0e1ae9e836cc3beddd63db0df682593d7e2d3d891ae8c9083d2113e1744224" +"checksum quote 1.0.26 (registry+https://github.com/rust-lang/crates.io-index)" = "4424af4bf778aae2051a77b60283332f386554255d722233d09fbfc7e30da2fc" +"checksum syn 1.0.109 (registry+https://github.com/rust-lang/crates.io-index)" = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237" +"checksum thiserror 1.0.39 (registry+https://github.com/rust-lang/crates.io-index)" = "a5ab016db510546d856297882807df8da66a16fb8c4101cb8b30054b0d5b2d9c" +"checksum thiserror-impl 1.0.39 (registry+https://github.com/rust-lang/crates.io-index)" = "5420d42e90af0c38c3290abcca25b9b3bdf379fc9f55c528f53a269d9c9a267e" +"checksum unicode-ident 1.0.8 (registry+https://github.com/rust-lang/crates.io-index)" = "e5464a87b239f13a63a501f2701565754bae92d243d4bb7eb12f6d57d2269bf4" diff --git a/Cargo.toml b/Cargo.toml index 3a26828..cabf78f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -17,4 +17,4 @@ rust-version = "1.37" maintenance = { status = "experimental" } [dev-dependencies] -thiserror = "1" +thiserror = "=1.0.39"