2 releases

new 0.0.2 May 21, 2025
0.0.1 May 3, 2025

#414 in Concurrency

Download history 110/week @ 2025-04-30 27/week @ 2025-05-07 8/week @ 2025-05-14

145 downloads per month

MIT license

3.5MB
18K SLoC

asyncgit

allow using git2 in an asynchronous context

This crate is designed as part of the gitui project.

asyncgit provides the primary interface to interact with git repositories. It is split into the main module and a sync part. The latter provides convenience wrapper for typical usage patterns against git repositories.

The primary goal however is to allow putting certain (potentially) long running git2 calls onto a thread pool.crossbeam-channel is then used to wait for a notification confirming the result.

In gitui this allows the main-thread and therefore the ui to stay responsive.

Dependencies

~347MB
~10M SLoC