colin-kiegel / rust-derive-builder

derive builder implementation for rust structs
https://colin-kiegel.github.io/rust-derive-builder/
Apache License 2.0
1.35k stars 89 forks source link

Impl core::error::Error instead of std::error::Error #333

Open DeppLearning opened 2 weeks ago

DeppLearning commented 2 weeks ago

Hey there,

thanks for the great library! I noticed that the Error trait is not implemented for BuilderErrors when the std feature is inactive. Rust 1.81 stabilized core::error::Error, it would be nice if this crate could make use of it and lift the former restriction. Since, as implemented, this would be a breaking change, I'm wondering what the preferred way forward is. I can think of