Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error-chain #34

Open
Yamakaky opened this issue Nov 21, 2016 · 0 comments
Open

error-chain #34

Yamakaky opened this issue Nov 21, 2016 · 0 comments

Comments

@Yamakaky
Copy link
Contributor

Yamakaky commented Nov 21, 2016

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant