git-storage: remove pool

There is an advisory error[0] relating to tokio which is transitively
brought in via deadpool.

Since git-storage is not currently used and heartwood is avoiding any
async runtimes, the pool module is removed.

[0]: https://rustsec.org/advisories/RUSTSEC-2023-0001.html

Signed-off-by: Fintan Halpenny <fintan.halpenny@gmail.com>
X-Clacks-Overhead: GNU Terry Pratchett
This commit is contained in:
Fintan Halpenny
2023-01-11 10:41:06 +00:00
parent f3459cdd18
commit 502053d972
5 changed files with 0 additions and 194 deletions
-2
View File
@@ -35,8 +35,6 @@ impl Read {
/// [`Read`] can be sent between threads, but it can't be shared between
/// threads. _Some_ operations are safe to perform concurrently in much
/// the same way two `git` processes can access the same repository.
/// However, if you need multiple [`Read`]s to be shared between
/// threads, use a [`crate::Pool`] instead.
pub fn open<P: AsRef<Path>>(path: P) -> Result<Self, error::Init> {
crate::init();
-2
View File
@@ -50,8 +50,6 @@ impl Write {
/// [`Write`] can be sent between threads, but it can't be shared between
/// threads. _Some_ operations are safe to perform concurrently in much
/// the same way two `git` processes can access the same repository.
/// However, if you need multiple [`Write`]s to be shared between
/// threads, use a [`crate::Pool`] instead.
pub fn open<P: AsRef<Path>>(path: P, info: UserInfo) -> Result<Self, error::Init> {
crate::init();