Cormac Relf
Cormac Relf
There are examples for using LSP (pyright) in here: https://github.com/cormacrelf/elk Specifically https://github.com/cormacrelf/elk/blob/master/example/venv.sh. Just launch your LSP with this as the wrapper. You can probably use VSCode's pylance this way to...
Ok. This particular .zstd file has multiple frames in it. async-compression can only handle one frame, which is wrong. A stream can have as many frames as it wants. See...
The failing test `zstd::futures::bufread::decompress::trailer ` is one that also assumes zstd is single frame only. Disabling it only for zstd is proving tricky. The macros are pretty involved, hopefully I...
Hmmm. I guess this test does pass with `decoder.multiple_members(true);`. I guess I was holding it wrong. Great that async-compression does handle this and it seems quite well. Sorry for bugging...
We have been using a step that copies the [workspace.dependencies] section of the workspace Cargo.toml to a third party dir, adding a dummy [package] and renaming [workspace.dependencies] to [dependencies]. And...
@fxdave IMO not a great idea to ditch the whole Result API -- try [this][play] or newtype that hashmap or something. But you're onto something with this and eventually when...
One addition for completeness is that if the [Enum variant types RFC](https://github.com/rust-lang/rfcs/pull/2593) ever comes out of postponement hibernation, it might cover some (not all) of these residual types-with-holes-in-them problems. Thinking...
Also, if std contained _no_ implementations of `Try` with a `!` in the associated residual, it would become even more difficult to explain why it's called the residue / the...
Await is not the only problem, there is also the problem of named loop labels, which are allowed on `for _ in` loops. Code inside nested loops can break out...
@mkditto This is good! I did a very similar thing but using regex matching to execute the patterns in starlark instead of running a helper binary, which was a good...