1 parent 3b11b97 commit 2fec633Copy full SHA for 2fec633
1 file changed
src/csmrc.rs
@@ -6,22 +6,19 @@ use std::default::Default;
6
use std::io::{Error, ErrorKind};
7
8
#[derive(Debug, Deserialize)]
9
+#[serde(default)]
10
pub struct Config {
11
/// Override the $MAMBA_ROOT_PREFIX when shelling out to micromamba.
- #[serde(default)]
12
pub mamba_root_prefix: Option<String>,
13
14
/// If true, don't make any changes or call any commands, just print what
15
/// we *would* do normally.
16
17
pub noop_mode: bool,
18
19
/// Override the cache directory for testing purposes.
20
21
pub cache_dir: Option<String>,
22
23
/// If false, skip downloading micromamba even if needed (for testing).
24
25
pub download_micromamba: bool,
26
}
27
0 commit comments