Pascal Hertleif
Pascal Hertleif
> I think the docs could clarify a bit more what this is useful since I am still confused. Rust already has support for using `?` on `Option`, but it...
Yeah, `ok_or_err` fits pretty good next to `ok_or_else`. I kinda wanted to go with a not-similar name because I don't want user to need to think about that this maps...
Thanks! Yeah, failure-derive requires and explicit `extern crate failure;` to be possible it seems, and that's only the case when you have the crate added to your dependencies. Let's get...
> context strings I assume you are referring to failure's [`.context`](https://docs.rs/failure/0.1.1/failure/trait.ResultExt.html#tymethod.context) which gives you a [`Context`](https://docs.rs/failure/0.1.1/failure/struct.Context.html). Interestingly, the docs for `Context` says this: > The context is intended to be...
Thanks for the great explanation, that makes sense! > Maybe showing the underlying cause would be a better default? I think too much info is better than not enough, in...
Oh, by the way, I opened #44 about showing backtraces recently, which might be related.
Interesting! Using the glob import to import macros is sadly a bit of a hack right now. Seems like this may be its limit? You seem to need to import...
I tried re-exporting the `json!` macro using the `json_internal!` macro but that could not be found for some reason (even though serde-json clearly macro_exports it).
Let's ask a different question: What can we add in quicli that would make a typical CLI thing that involves JSON more comfortable/easy so it is superior to just `extern...
Oh, great timing! I just made https://github.com/killercup/snafu-cli-debug because I wrote that code several times now. It's very much an 0.1, and could definitely use more tweaking. Also feel free to...