Jake Goulding

Results 615 comments of Jake Goulding

> Are you referring to the UTF-8 encoding issue No, I am not. My point is that you asked for `Location` to implement `Serialize` and `Deserialize`. I could straightforwardly implement...

From a more positive standpoint, `Location` specifically is interesting for this because I've already made all the fields public, so the names and types are already fixed (with respect to...

> As for Backtrace This library doesn't *really* control `Backtrace`. Specifically, we have [shim](https://github.com/shepmaster/snafu/blob/0.7.5/src/backtrace_shim.rs) and [inert](https://github.com/shepmaster/snafu/blob/0.7.5/src/backtrace_inert.rs) implementations that we control but also allow directly re-exporting [the backtrace or std crate](https://github.com/shepmaster/snafu/blob/0.7.5/src/lib.rs#L262-L266)'s...

And riffing on that could be `reporting_unwrap`

> do this without [writing] repetitive property values? I appreciate this question because it's in the small set of things I can answer definitely: no. SNAFU is currently implemented as...

Would you mind testing out the [report-configuration](https://github.com/shepmaster/snafu/tree/report-configuration) branch and seeing if it does what you expected? I haven't finished documenting things, or even writing all the tests I want, but...

An alternate idea I had would to be a bit more structured. E.g. instead of passing in an environment variable name, maybe I pass in a closure that returns a...

> an additional WhateverAsync be possible Yep! You can do this today by copy-pasting the `Whatever` type into your code and modifying it. Stealing [from this PR](https://github.com/zardini123/snafu/blob/0d7792e5c282ab0c117a09ebd1a750f1d972e188/src/lib.rs#L1557C1-L1569C2): ```rust // You...

> annotated with #[snafu(whatever If you are creating your own error, then you can make it sendable by using `Box`. This issue is only applicable to the pre-defined `snafu::Whatever` type.

I've very much wanted this feature. I have a plain old process that spawns many Docker containers. In order to ensure that containers are cleaned up properly, I had to...