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:
[dependencies]
ring = { git = "https://github.com/briansmith/ring", version = "0.12" }
# or
ring = { git = "https://github.com/briansmith/ring", branch = "main" }