Skip to content

Commit f238c5c

Browse files
committedFeb 26, 2024
Replace err_derive with thiserror
`err_derive` is unmaintained and will probably stop working with rust edition 2024. `thiserror` is almost a drop-in replacement. This commit simply replaces all occurences of `derive(err_derive::Error)` with `derive(thiserror::Error)` and fixes the attributes, but the Error and Display impls should be identical.
1 parent 3543421 commit f238c5c

File tree

146 files changed

+1341
-1480
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

146 files changed

+1341
-1480
lines changed
 

‎Cargo.lock

+51-51
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ prost = "0.12.0"
5656
prost-types = "0.12.0"
5757

5858
env_logger = "0.10.0"
59-
err-derive = "0.3.1"
59+
thiserror = "1.0.57"
6060
log = "0.4"
6161

6262
shadowsocks = { version = "1.16" }

0 commit comments

Comments
 (0)
Failed to load comments.