Sergey "Shnatsel" Davidoff

Results 943 comments of Sergey "Shnatsel" Davidoff

I'm looking to convert [`cargo audit`](https://crates.io/crates/cargo-audit), and we need it for these reasons: 1. Use `rustls` as the TLS implementation instead of memory-unsafe OpenSSL required by curl (which keeps getting...

Why would you use `Vec`? `Vec` already encapsulates work with uninitialized memory - you can write to its capacity and then `.set_len()` to update the length. Or just use one...

Ah, looks like you want `aio_read` to actually own the Vec instead of getting a mutable reference to it. This has already been brought up in relation to [design of...

We could use `cargo metadata` to discover features. Reimplementing the Cargo.toml parser and feature resolver is infeasible, since the format keeps evolving and adding non-trivial complications.

This is now live on rustsec.org

FWIW this is blocking [miniz_oxide](https://github.com/Frommi/miniz_oxide) from exposing proper C bindings.

I believe the range by which a gzip stream can reference itself is bounded - e.g. RLE decoding can reference ranges no more than `u16::MAX` bytes long. So at least...

Excellent! I think the README needs an update, as it still reads: > Skia also supports ARM NEON instructions, which are unavailable in a stable Rust at the moment. Therefore...

For future reference: rustc has always embedded its version in the `.rustc` section. If you need to determine the compiler version for older binaries (built before this RP shipped), use...

I see. The fallback for older versions would be parsing debuginfo, then, as described [here](https://github.com/rust-lang/rust/pull/97550#issuecomment-1141293686).