Skip to content

Commit

Permalink
update gix to the latest version
Browse files Browse the repository at this point in the history
Please note that I have removed the `max-performance-safe` feature
which pushes the choice to the consumer of (any) library that uses
`gix`. It's also causing less C to be compiled by default.
  • Loading branch information
Byron committed Sep 8, 2023
1 parent 1c2c3ec commit 645d4c6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
5 changes: 1 addition & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -59,13 +59,10 @@ twox-hash = { version = "1.6", default-features = false }

[dependencies.gix]
optional = true
version = "0.52"
version = "0.53.1"
default-features = false
features = [
"max-performance-safe",
"blocking-network-client",
"blocking-http-transport-reqwest",
"reqwest-for-configuration-only",
]

[dependencies.reqwest]
Expand Down
6 changes: 3 additions & 3 deletions src/index/git_remote.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ impl RemoteGitIndex {
lock_policy: gix::lock::acquire::Fail,
) -> Result<Self, Error>
where
P: gix::Progress,
P: gix::NestedProgress,
P::SubProgress: 'static,
{
let open_or_clone_repo = || -> Result<_, GitError> {
Expand Down Expand Up @@ -339,7 +339,7 @@ impl RemoteGitIndex {
should_interrupt: &AtomicBool,
) -> Result<(), Error>
where
P: gix::Progress,
P: gix::NestedProgress,
P::SubProgress: 'static,
{
// We're updating the reflog which requires a committer be set, which might
Expand Down Expand Up @@ -416,7 +416,7 @@ pub enum GitError {
#[error(transparent)]
ReferenceLookup(#[from] Box<gix::reference::find::existing::Error>),
#[error(transparent)]
BlobLookup(#[from] Box<gix::odb::find::existing::Error<gix::odb::store::find::Error>>),
BlobLookup(#[from] Box<gix::odb::find::existing::Error>),
#[error(transparent)]
RemoteLookup(#[from] Box<gix::remote::find::existing::Error>),
#[error(transparent)]
Expand Down

0 comments on commit 645d4c6

Please sign in to comment.