How to import a crate from git in Rust

Importing a crate from git is as simple as adding the following line in your Cargo.toml file:

ring = { git = "", version = "0.12" }
# or
ring = { git = "", branch = "main" }
1 email / week to learn how to (ab)use technology for fun & profit: Programming, Hacking & Entrepreneurship.
I hate spam even more than you do. I'll never share your email, and you can unsubscribe at any time.

Tags: programming, rust, tutorial

Want to learn Rust, Cryptography and Security? Get my book Black Hat Rust!