jj/lib
Martin von Zweigbergk 24b706641f async: switch to pollster's block_on()
During the transition to using more async code, I keep running into
https://github.com/rust-lang/futures-rs/issues/2090. Right now, I want
to convert `MergedTree::diff()` into a `Stream`. I don't want to
update all call sites at once, so instead I'm adding a
`MergedTree::diff_stream()` method, which just wraps
`MergedTree::diff()` in a `Stream. However, since the iterator is
synchronous, it needs to block on the async `Backend::read_tree()`
calls. If we then also block on the `Stream` in the CLI, we run into
the panic.
2023-11-03 08:15:10 -07:00
..
benches
gen-protos
src async: switch to pollster's block_on() 2023-11-03 08:15:10 -07:00
tests async: switch to pollster's block_on() 2023-11-03 08:15:10 -07:00
testutils tests: force gitoxide to not load config nor use "main" as default branch 2023-11-02 19:33:06 +09:00
Cargo.toml async: switch to pollster's block_on() 2023-11-03 08:15:10 -07:00
LICENSE cargo: add LICENSE file to each crate we publish 2023-09-22 21:48:28 -07:00