« first day (2815 days earlier)      last day (660 days later) » 

1:04 PM
@Shepmaster just update one of my work project to snafu 0.7:
> Now, context selectors for both enum and struct errors use the Snafu suffix. Any existing Error suffix is removed before Snafu is added.
it's quite disturbing cause I have legit Error in my name variant that is not to say it's an Error but an FooError it's not an error of my project
this lead to complicate error message as:
> error[E0119]: conflicting implementations of trait `std::clone::Clone` for type `MpscSendPacketSnafu`
--> src\main.rs:98:17
|
98 | #[derive(Debug, Snafu)]
| ^^^^^
| |
| first implementation here
| conflicting implementation for `MpscSendPacketSnafu`
(I have a collection packet_error in mongodb)
I will fix by inverting PacketError to ErrorPacket :p
 
 
1 hour later…
2:35 PM
damm crates.io/crates/http is just horrible to deal with
lock every api with non_exhaustive
no way to avoid cloning
split uri into 3 allocation
I just don't understand
 

« first day (2815 days earlier)      last day (660 days later) »