liranringel / ipconfig

Get network adapters information for windows (written in Rust).
Apache License 2.0
37 stars 15 forks source link

replace error-chain with failure #20

Closed AnderEnder closed 5 years ago

AnderEnder commented 5 years ago

Error chain is going to be deprecated: https://github.com/rust-lang-nursery/failure/issues/181 failure is a preferable replacement for it.

liranringel commented 5 years ago

I really appreciate your intention, but as failure states in their readme, failure 0.1 is not stable either: https://github.com/rust-lang-nursery/failure#evolution There is no reason to replace an unstable library with another, right?

AnderEnder commented 5 years ago

There is no reason to replace an unstable library with another, right?

Error chain is actually deprecated and not maintained. So this is a good reason to migrate.

There is not too many stable libraries in rust world yet. For example all libraries dependencies from this crate are not stable with version < 1.0.0. So this can not be a reason not to migrate.

Failure is a current de-facto main error management library and is maintained. AFAIK, it makes influence on standard error library, so that is why plans for stabilising library from 0.1.x to 1.0.x were changed.