crates_index/git/
mod.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#![allow(clippy::result_large_err)]

#[cfg(all(doc, feature = "git"))]
use crate::GitIndex;

/// The default URL of the crates.io index for use with git, see [`GitIndex::with_path`]
pub const URL: &str = "https://github.com/rust-lang/crates.io-index";

///
#[cfg(feature = "git")]
mod changes;
#[cfg(feature = "git")]
pub use changes::Changes;

#[cfg(feature = "git")]
mod config;

#[cfg(feature = "git")]
mod impl_;
#[cfg(feature = "git")]
use impl_::fetch_remote;
#[cfg(feature = "git")]
pub use impl_::{Change, Crates};