cargo::sources::git

Module source

source
Expand description

See GitSource.

Structsยง

  • GitSource contains one or more packages gathering from a Git repository. Under the hood it uses RecursivePathSource to discover packages inside the repository.

Enumsยง

Functionsยง

  • ident ๐Ÿ”’
    Create an identifier from a URL, essentially turning proto://host/path/repo into repo-<hash-of-url>.
  • ident_shallow ๐Ÿ”’
    Like ident(), but appends -shallow to it, turning proto://host/path/repo into repo-<hash-of-url>-shallow.