rust-lang-deprecated / error-chain

Error boilerplate for Rust
Apache License 2.0
728 stars 111 forks source link

Added support for 'Sync' compatible error #300

Closed john-sharratt closed 3 years ago

john-sharratt commented 3 years ago

For this issue: https://github.com/rust-lang-nursery/error-chain/issues/240

Kixunil commented 3 years ago

This is not backwards-compatible. If you update the crate suddenly the error has to be sync. Even if you didn't make it default, simply adding a crate that activates sync feature would break it. This isn't solvable by features.