influxdb-rs/influxdb-rust

Consider removing failure crate

jgrund opened this issue · 3 comments

Consider removing the failure crate and replace with implementation for std::error::Error and conversions.

xoac commented

There are crates like thiserror that makes implementation of std::error::Error supper easy

I'm all in favor of removing dependencies. Feel free to open a pull request!

It would not be "removing a dependency" in the strictest sense, but thiserror derives errors that are indistinguishable from manual implementation of std::error::Error trait, and so will not pollute users.