Module rustsec::package::source [−][src]
Package source identifiers.
Adapted from Cargo’s source_id.rs:
https://github.com/rust-lang/cargo/blob/master/src/cargo/core/source/source_id.rs
Copyright (c) 2014 The Rust Project Developers
Licensed under the same terms as the cargo-lock crate: Apache 2.0 + MIT
Structs
| PrettyRef | A git reference that can be |
| SourceId | Unique identifier for a source of packages. |
Enums
| GitReference | Information to find a specific commit in a Git repository. |
Constants
| CRATES_IO_INDEX | Location of the crates.io index |
| DEFAULT_BRANCH | Default branch name |