We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 40226f5 commit f2084b7Copy full SHA for f2084b7
src/cargo/sources/config.rs
@@ -15,6 +15,7 @@ use util::{Config, ToUrl};
15
use util::config::ConfigValue;
16
use util::errors::{CargoError, CargoResult, CargoResultExt};
17
18
+#[derive(Clone)]
19
pub struct SourceConfigMap<'cfg> {
20
cfgs: HashMap<String, SourceConfig>,
21
id2name: HashMap<SourceId, String>,
@@ -28,6 +29,7 @@ pub struct SourceConfigMap<'cfg> {
28
29
/// registry = 'https://github.com/rust-lang/crates.io-index'
30
/// replace-with = 'foo' # optional
31
/// ```
32
33
struct SourceConfig {
34
// id this source corresponds to, inferred from the various defined keys in
35
// the configuration
0 commit comments