From c1daa6ba0cda58f53e1cda35e0be26c55f5fbcbd Mon Sep 17 00:00:00 2001 From: Marcin Witkowski Date: Fri, 4 Feb 2022 22:02:02 +0100 Subject: [PATCH] rust: Bump thiserror version and remove git dependency (#7080) --- rust/flatbuffers/Cargo.toml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/rust/flatbuffers/Cargo.toml b/rust/flatbuffers/Cargo.toml index f18260491..4973d711a 100644 --- a/rust/flatbuffers/Cargo.toml +++ b/rust/flatbuffers/Cargo.toml @@ -20,6 +20,7 @@ serialize = ["serde"] smallvec = "1.6.1" bitflags = "1.2.1" serde = { version = "1.0", optional = true } -thiserror = { version = "1.0.23", optional = true } -core2 = { version = "0.3.3", optional = true } -thiserror_core2 = { git = "https://github.com/antmicro/thiserror-core2.git", branch = "remaining-errors", optional = true } +thiserror = { version = "1.0.30", optional = true } +core2 = { version = "0.4.0", optional = true } +# This version is compliant with mainline 1.0.30 +thiserror_core2 = { version = "2.0.0", default-features = false, optional = true }