Skip to content

Commit

Permalink
Release 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Nov 6, 2024
1 parent 40113bd commit 6097d61
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "thiserror"
version = "1.0.68"
version = "2.0.0"
authors = ["David Tolnay <dtolnay@gmail.com>"]
categories = ["rust-patterns"]
description = "derive(Error)"
Expand Down Expand Up @@ -28,7 +28,7 @@ default = ["std"]
std = []

[dependencies]
thiserror-impl = { version = "=1.0.68", path = "impl" }
thiserror-impl = { version = "=2.0.0", path = "impl" }

[dev-dependencies]
anyhow = "1.0.73"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ This library provides a convenient derive macro for the standard library's

```toml
[dependencies]
thiserror = "1.0"
thiserror = "2"
```

*Compiler support: requires rustc 1.61+*
Expand Down
2 changes: 1 addition & 1 deletion impl/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "thiserror-impl"
version = "1.0.68"
version = "2.0.0"
authors = ["David Tolnay <dtolnay@gmail.com>"]
description = "Implementation detail of the `thiserror` crate"
edition = "2021"
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@
//! [`anyhow`]: https://github.com/dtolnay/anyhow

#![no_std]
#![doc(html_root_url = "https://docs.rs/thiserror/1.0.68")]
#![doc(html_root_url = "https://docs.rs/thiserror/2.0.0")]
#![allow(
clippy::module_name_repetitions,
clippy::needless_lifetimes,
Expand Down

0 comments on commit 6097d61

Please sign in to comment.