Skip to content

Commit d5cdad0

Browse files
authored
Pin gix-transport (#642)
Fucked again by `cargo install` not using the lockfile unless explicitly specified. rust-lang/cargo#7169 Resolves: #641
1 parent 621ff39 commit d5cdad0

File tree

3 files changed

+33
-14
lines changed

3 files changed

+33
-14
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
88

99
<!-- next-header -->
1010
## [Unreleased] - ReleaseDate
11+
### Fixed
12+
- [PR#642](https://github.com/EmbarkStudios/cargo-deny/pull/642) resolved [#641](https://github.com/EmbarkStudios/cargo-deny/issues/641) by pinning `gix-transport` (and its unique dependencies) to 0.41.2 as a workaround for `cargo install` not using the lockfile. See [this issue](https://github.com/Byron/gitoxide/issues/1328) for more information.
13+
1114
## [0.14.19] - 2024-03-21
1215
### Changed
1316
- [PR#639](https://github.com/EmbarkStudios/cargo-deny/pull/639) updated tame-index to avoid an error if you don't used `--locked`.

Cargo.lock

Lines changed: 14 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,22 @@ features = [
131131
"worktree-mutation",
132132
]
133133

134+
# Pin gix-transport to this version, people who don't use --locked will get 0.41.3
135+
# which is either itself broken, or else one the following versions it depends
136+
# on has introduced a bug
137+
# Removing h2 v0.4.3
138+
# Removing http v1.1.0
139+
# Removing http-body v1.0.0
140+
# Removing http-body-util v0.1.1
141+
# Removing hyper v1.2.0
142+
# Removing hyper-util v0.1.3
143+
# Removing pin-project v1.1.5
144+
# Removing pin-project-internal v1.1.5
145+
# Removing reqwest v0.12.1
146+
# Removing tower v0.4.13
147+
# Removing tower-layer v0.3.2
148+
gix-transport = "<=0.41.2"
149+
134150
[dev-dependencies]
135151
# Folder copying
136152
fs_extra = "1.3"

0 commit comments

Comments
 (0)