Galaxy-brained newline intersperse function

Itertools already has an intersperse method for me. Why would I build my
own when I can do this? There's even a `fold()` over the units that come
out of the print routine.
This commit is contained in:
2025-07-02 22:29:07 -05:00
parent 8120cb0489
commit d94c350cde
2 changed files with 9 additions and 3 deletions

View File

@@ -6,6 +6,7 @@ edition = "2024"
[dependencies]
clap = { version = "4.0.7", features = ["derive", "env"] }
colored = "2.0.0"
itertools = "0.10.0"
reqwest = { version = "0.11.13", features = ["json", "stream", "multipart"] }
serde = { version = "1.0.152", features = ["derive"] }
tokio = { version = "1.24.2", features = ["macros", "rt-multi-thread"] }