crates_index/git/mod.rs
1#![allow(clippy::result_large_err)]
2
3#[cfg(all(doc, feature = "git"))]
4use crate::GitIndex;
5
6/// The default URL of the crates.io index for use with git, see [`GitIndex::with_path`]
7pub const URL: &str = "https://github.com/rust-lang/crates.io-index";
8
9///
10#[cfg(feature = "git")]
11mod changes;
12#[cfg(feature = "git")]
13pub use changes::Changes;
14
15#[cfg(feature = "git")]
16mod config;
17
18#[cfg(feature = "git")]
19mod impl_;
20#[cfg(feature = "git")]
21use impl_::fetch_remote;
22#[cfg(feature = "git")]
23pub use impl_::{Change, Crates};