error-chain icon indicating copy to clipboard operation
error-chain copied to clipboard

If this crate is really drepecate, I should specify it and mark alternatives.

Open zzau13 opened this issue 6 years ago • 8 comments
trafficstars

To avoid mistakes with programmers with little experience. It would be much more efficient to decide what to do with this crate and give alternatives. It forces you to understand something that should not be used, since currently there are much more efficient ways of doing the same work.

So, from experience, I would specify all this in the README or some visible place.

zzau13 avatar Mar 26 '19 13:03 zzau13

I agree. Should have done that long ago...

Yamakaky avatar Mar 29 '19 12:03 Yamakaky

While error-chain may not be the preferred way to handle errors anymore, it is still being used and I don't think a complete, official alternative is available yet. It would be great if somebody took over maintenance, if just to ensure that it keeps working with new compiler releases. Unfortunately my knowledge of Rust is too rudimentary to qualify.

nmusatti avatar Mar 29 '19 14:03 nmusatti

Doesn't failure qualify?

Yamakaky avatar Mar 30 '19 18:03 Yamakaky

So, just to be sure, as I am starting to write my first library, as of today, I should use failure and not error-chain, right?

(sorry if this question appears a lot, I still can't figure it out from the different posts) Thanks in advance!!

saona-raimundo avatar Jun 01 '19 02:06 saona-raimundo

I guess yes, unless someone wants to maintain error-chain

Yamakaky avatar Jun 01 '19 09:06 Yamakaky

Doesn't failure qualify?

Sorry for taking so long in answering. I took a second look and I'd say it does.

nmusatti avatar Jun 01 '19 16:06 nmusatti

failure having been deprecated, I don't think it would qualify anymore. I still use error-chain, but I'm attracted to snafu.

8573 avatar Jul 30 '20 22:07 8573

Such is the life of rust crates. I just like error-chain because the code is in place, and I'm making sure it doesn't get deprecated.

AndyGauge avatar Jul 30 '20 23:07 AndyGauge