Alec Mocatta

Results 38 comments of Alec Mocatta

Hi @rasa200! Thank you for your kind words :) Unfortunately over the last few months a family member's health took a turn for the worse and I've had no bandwidth...

Agreed! If you're willing to take a look I'm happy to advise. [`metatype`](https://github.com/alecmocatta/metatype) and [`serde_traitobject`](https://github.com/alecmocatta/serde_traitobject) are the blockers. IIRC `specialization` should be okay to avoid. It's `ptr_metadata` and `arbitrary_self_types` that...

Hi @TrionProg, thanks for filing an issue! I think the problem is that the closure here needs to be a `move` closure to take ownership of the captured variables (`one`...

To make that minimal example work, you need to add `#[serde(bound = "")]` like this: ```rust #[derive(Serialize, Deserialize)] #[serde(bound = "")] struct TwoClosures where T:'static { inner: Option } ```...

> And second question: how to serialize struct TwoClosures by may hands without derive? The serde guide to [implementing Serialize](https://serde.rs/impl-serialize.html) and [Deserialize](https://serde.rs/impl-deserialize.html) are helpful here. The easiest way to serialize/deserialize...

> whether catch_unwind() causes any optimisation barriers in the case where there is no panic This is indeed the case currently. For the pattern where one is catching and then...

For my use case, the libtest binary is a fine level of granularity to cache the results of. Caching individual `#[test]`s within a libtest binary seems more fragile?

A really nice feature would be to be able to clone an Archiver instance. The use case for this would be if you are dynamically generating archives where most of...

FWIW, `regex::bytes::escape` would be useful for my use case also. As said above, escaping every byte as `\xHH` is perfectly workable. Given my use case exposes some such strings to...

For avoidance of doubt in my previous post, this is simplified but representative of my use case: ``` let (a,b,c): (Vec,Vec,Vec) = ...; let (a,b,c) = (bytes::escape(a),bytes::escape(b),bytes::escape(c)); bytes::RegexBuilder(format!("{} ({}|{})", a,...