aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/mozart-core/src/config.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/mozart-core/src/config.rs')
-rw-r--r--crates/mozart-core/src/config.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/crates/mozart-core/src/config.rs b/crates/mozart-core/src/config.rs
index 58d1d17..1fbbb41 100644
--- a/crates/mozart-core/src/config.rs
+++ b/crates/mozart-core/src/config.rs
@@ -5,12 +5,11 @@
//! known properties. Unknown properties are captured in the `extra` map so
//! that round-tripping through serde is lossless.
+use crate::composer::composer_home;
use indexmap::IndexMap;
use serde::{Deserialize, Serialize};
use std::collections::BTreeMap;
-use crate::composer::composer_home;
-
/// Parse a size string like "300MiB", "1GB", "512k", or a plain integer string
/// into a byte count. Mirrors Composer's `Config::get('cache-files-maxsize')`.
fn parse_size_bytes(s: &str) -> Option<u64> {