Description
Attempting to build the project fails because the longbridge dependency in Cargo.toml references a Git branch that no longer exists:
longbridge = { git = "https://github.com/longbridge/openapi.git", branch = "feat/us-dc-region" }
Cargo reports:
failed to get `longbridge` as a dependency
Unable to update https://github.com/longbridge/openapi.git?branch=feat/us-dc-region
failed to find branch `feat/us-dc-region`
cannot locate remote-tracking branch 'origin/feat/us-dc-region'
Environment
- macOS (Apple Silicon)
- Latest stable Rust toolchain
Expected behavior
The project should build successfully after cloning the repository.
Actual behavior
The build fails because the dependency points to a Git branch that no longer exists in the longbridge/openapi repository.
Suggested fix
Update the dependency to a valid branch, tag, or commit in the longbridge/openapi repository so new contributors can build the project successfully.
Description
Attempting to build the project fails because the
longbridgedependency inCargo.tomlreferences a Git branch that no longer exists:Cargo reports:
Environment
Expected behavior
The project should build successfully after cloning the repository.
Actual behavior
The build fails because the dependency points to a Git branch that no longer exists in the
longbridge/openapirepository.Suggested fix
Update the dependency to a valid branch, tag, or commit in the
longbridge/openapirepository so new contributors can build the project successfully.