Module cargo::sources::git

source ·
Expand description

Home of the GitSource.

Apparently, the most important type in this module is GitSource. utils provides libgit2 utilities like fetch and checkout, whereas oxide is the counterpart for gitoxide integration. known_hosts is the mitigation of CVE-2022-46176.

Modules

  • For -Zgitoxide integration.
  • SSH host key validation support.
  • oxide 🔒
    This module contains all code sporting gitoxide for operations on git repositories and it mirrors utils closely for now. One day it can be renamed into utils once git2 isn’t required anymore.
  • source 🔒
  • utils 🔒
    Utilities for handling git repositories, mainly around authentication/cloning.

Structs

Functions

  • Attempts to fetch the given git reference for a Git repository.