Toby Lawrence

Results 217 comments of Toby Lawrence

Also, separately: > A good direction, it can solve my problem. At least, `Registry` should be generic over the handles type, now it uses a private `Primitives`. You're right, and...

I just cut a new release -- `[email protected]` -- which covers a few changes pursuant to this issue: - `Primitives` is now public (renamed to `Storage`) - `Registry` is now...

Sounds good. 👍🏻 I'm also working on refactoring [`metrics::Cow`](https://github.com/metrics-rs/metrics/blob/cow-experiments/metrics/src/cow2.rs) to additionally allow for wrapping an `Arc` (in addition to the normal support for `&'a T` and `T`) and exploring a...

Playing around with this quickly: this depends on being able to specify traits on generics in const settings _beyond_ `Sized`. There's no super specific issue but this is the high-level...

Wooo! Nice! @ramn If you're OK with it, I'd love to be able to link to your project in the README / documentation. Happy to wait, though, if you don't...

First off, you're welcome! Glad you've found this project helpful/useful. Overall, a removal API would be nice and I can understand where you're coming from. The biggest issue is that...

Hello there! Reading through your description, I see where you're coming from. At a high level, there is no way, currently, to drop the recorder as it's installed in such...

Another thought is potentially doing something with `Arc`/`Weak` where the weak reference can be wrapped and installed as the recorder and then then `Arc` could be held as a drop...

Checking in, the previously mentioned "recent PR" that was merged was https://github.com/rust-lang/rust/pull/90377. The tracking issue hasn't mentioned anything new, but the PR was/is still marked as being part of the...

Recent movement: https://github.com/rust-lang/rust/pull/97522 This stabilizes the `const fn` version of `std::slice::from_raw_parts`, which will land in 1.64. Quite a ways away, especially given our MSRV policy... but for the sake of...