Rust Cargo.toml : Comment utiliser un dépôt git sur une branche spécifique

Voici comment utiliser une URL de dépôt Git et une branche spécifiques dans le fichier Cargo.toml de votre projet Rust pour une dépendance :

Cargo.toml
# ...

[dependencies]
ethercat-esi = { git = "https://github.com/ulikoehler/ethercat-esi.git", branch = "Comment-Tag" }

Check out similar posts by category: Rust