Cargo not pulling latest commit from github

⚓ Rust    📅 2025-10-20    👤 surdeus    👁️ 2      

surdeus

I have the following dependency that pulls from a private github repo:

this-api = { git = "ssh://git@github.com/bmt/api.git", package = "this-api", branch = "this-branch" }

We can get Cargo to pull a specific build using rev instead of branch. However, this is not a satisfying solution. How can we get Cargo to simply pull the latest from the specified branch?

5 posts - 3 participants

Read full topic

🏷️ Rust_feed