Andrew Baxter

Results 188 comments of Andrew Baxter

Dropping in here - I'd like this, but also for formatting an AST for producing nicely formatted generated code (no parse step). Also having `parse_ast` as part of the public...

Ah, I realize this is out of scope but if this could be supported it would really help me too. Genshin is apparently only supported on Windows/Mac/Chromebook, but I think...

Any solution would be fine, but here are the changes for the above: https://github.com/andrewbaxter/scrapyrt/tree/make_builtin_settings_default https://github.com/andrewbaxter/scrapy/tree/specify-closest-cfg-name

Overriding `get_scrapyrt_settings` and `get_project_settings` is just as dangerous as changing the priority to `default` (or `command` - I misspoke, that's what we're actually using), right? Also, CrawlManager overrides seem dependent...

Yeah the `sign`/`verify` behavior WRT `hash` was hard for me to understand, and I ended up having to look at the code to figure out how to use it. Basically...

`rsa` 0.6.0-pre on requires `num-bigint-dig` which since March 1 also pins `zeroize: ^1.51`.

Ah sure, I just wanted to note that the above unpinning in `rsa` probably had limited effect due to the transitive dependency. I guess the discussion about releasing unpinned packages...

In case the report disappears, it looks like there was 1 finding with this RSA library: * key sizes are not bounded, so if a user can pass in an...

> If the latter, you can just try to reserve space on it, and if all frozen `Bytes` have been dropped, the `BytesMut` can notice and reuse its memory. I...

Ah, thanks for the quick reply! Okay, so that usage is idiomatic. I think my confusion arose basically from crate documentation that says `This is managed by using a reference...