Rebecca Turner
Rebecca Turner
Closes #197.
Currently, there is no way to clear caches. For a `DiskCache`, this snippet does not seem to work (edit: the `remove_expired_entries` logic is broken, see #198 for a fix): ```rust...
Caching through an IO interface invariably requires serializing and deserializing the cached keys and values to bytes. This inherently requires duplicating the data, so it doesn't need owned access to...
Closes #195. The interfaces are fine but the proc macros need some work.
Seems to be a cancel safety issue, this happens when i `wait()` with a timeout and then `wait()` again: This reproducer: ```rust use command_group::AsyncCommandGroup; use tokio::process::Command; #[tokio::main] async fn main()...
Input: ``` "" # EOF ``` Output: ``` "" # EOF ``` Version information: ``` $ alejandra --version Alejandra 3.0.0 ```
```ShellSession $ nix-instantiate --parse crlf.nix { x = 1; } $ xxd crlf.nix 00000000: 7b20 7820 3d20 230d 313b 207d 0a { x = #.1; }. $ alejandra crlf.nix Failed!...
We can evaluate this expression: ``` nix-repl> (123).attr or "OK" "OK" ``` Alejandra removes the 'redundant' parenthesis around `123`: ```diff -(123).attr or "OK" +123.attr or "OK" ``` And then it...
Fixes #12753 Fixes #4467 Fixes #11595 Fixes #10878 changelog: [`useless_attribute`]: Attributes allowed on `use` items now include `ambiguous_glob_exports`, `hidden_glob_reexports`, `dead_code`, `unused_braces`, and `clippy::disallowed_types`.