Release 2.0.0

This commit is contained in:
David Tolnay 2024-11-05 21:50:34 -05:00
parent 40113bd4b5
commit 6097d61b58
No known key found for this signature in database
GPG key ID: F9BA143B95FF6D82
4 changed files with 5 additions and 5 deletions

View file

@ -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)"
@ -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"

View file

@ -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+*

View file

@ -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"

View file

@ -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,