tailhook/quick-error

error-chain

Yamakaky opened this issue · 0 comments

Currently, error-chain uses quick-error by just copying the file to src/quick_error.rs, with #30 applied and removal of the Error implementation. That's not ideal since we have to copy the file and make the changes instead of just updating Cargo.toml. Solutions I see:

  • Don't change anything.
  • Use macro_reexport: nightly only, not in path for stabilisation.
  • Add quick-error as a git sub-module and make a symbolic link. $crate could work if I reexport the few items you define in the crate... except that I also define a ResultExt ^^

And there is still the issue with Error.

Any thought about it?