54 releases

new 0.27.0 Jan 13, 2025
0.26.3 Jun 2, 2024
0.26.2 May 16, 2024
0.25.1 Mar 22, 2024
0.1.2 Mar 27, 2020

#470 in Concurrency

Download history 213/week @ 2024-09-23 165/week @ 2024-09-30 200/week @ 2024-10-07 224/week @ 2024-10-14 217/week @ 2024-10-21 183/week @ 2024-10-28 196/week @ 2024-11-04 120/week @ 2024-11-11 156/week @ 2024-11-18 166/week @ 2024-11-25 134/week @ 2024-12-02 134/week @ 2024-12-09 113/week @ 2024-12-16 154/week @ 2024-12-23 94/week @ 2024-12-30 108/week @ 2025-01-06

490 downloads per month
Used in gitui

MIT license

360KB
12K 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.


lib.rs:

asyncgit

Dependencies

~35–47MB
~841K SLoC