Rust Cargo.toml:如何使用特定分支的 git 仓库
下面介绍如何在 Rust 项目的 Cargo.toml 文件中为依赖项使用特定的 Git 仓库 URL 和分支:
Cargo.toml
# ...
[dependencies]
ethercat-esi = { git = "https://github.com/ulikoehler/ethercat-esi.git", branch = "Comment-Tag" }Check out similar posts by category:
Rust
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow