Skip to content

Commit 6097d61

Browse files
committed
Release 2.0.0
1 parent 40113bd commit 6097d61

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "thiserror"
3-
version = "1.0.68"
3+
version = "2.0.0"
44
authors = ["David Tolnay <dtolnay@gmail.com>"]
55
categories = ["rust-patterns"]
66
description = "derive(Error)"
@@ -28,7 +28,7 @@ default = ["std"]
2828
std = []
2929

3030
[dependencies]
31-
thiserror-impl = { version = "=1.0.68", path = "impl" }
31+
thiserror-impl = { version = "=2.0.0", path = "impl" }
3232

3333
[dev-dependencies]
3434
anyhow = "1.0.73"

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ This library provides a convenient derive macro for the standard library's
1313

1414
```toml
1515
[dependencies]
16-
thiserror = "1.0"
16+
thiserror = "2"
1717
```
1818

1919
*Compiler support: requires rustc 1.61+*

impl/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "thiserror-impl"
3-
version = "1.0.68"
3+
version = "2.0.0"
44
authors = ["David Tolnay <dtolnay@gmail.com>"]
55
description = "Implementation detail of the `thiserror` crate"
66
edition = "2021"

src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@
259259
//! [`anyhow`]: https://github.com/dtolnay/anyhow
260260
261261
#![no_std]
262-
#![doc(html_root_url = "https://docs.rs/thiserror/1.0.68")]
262+
#![doc(html_root_url = "https://docs.rs/thiserror/2.0.0")]
263263
#![allow(
264264
clippy::module_name_repetitions,
265265
clippy::needless_lifetimes,

0 commit comments

Comments
 (0)