Alexandre Bury

Results 285 comments of Alexandre Bury

What we want is Arc/Rc projection. Here's a thread from last year about it (also mentioning owning-ref, and its soundness issues): https://internals.rust-lang.org/t/field-projection-for-rc-and-arc/15827 For some restricted use-cases of common combinations (`Rc`...

After toying with ouroboros, I ended up using `parking_lot` and its [`ArcMutexGuard`](https://docs.rs/lock_api/latest/lock_api/struct.ArcMutexGuard.html), which looks exactly like what we need: a popular, maintained crate with a specific-purpose implementation avoiding most of...

In my previous post I mentioned switching to `parking_lot`, but apparently I only did that for `NamedView` - the main use of owning_ref I had. Turns out there was another...

Would this also allow specifying a target-specific `features.default` array? Something like: ```toml [target.'cfg(not(target_os = "windows"))'.features] default = ["general_feature"] [target.'cfg(target_os = "windows")'.features] default = ["winonly_replacement"] ``` I suppose a workaround to...

* The `zstd_safe::CParameter::ChecksumFlag` can be used when compressing to include a single 32-bit checksum (of the original, uncompressed content) per frame (at the end of the frame). In general there...