diff --git a/Cargo.lock b/Cargo.lock index db7743a..01d4440 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -102,6 +102,15 @@ version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5" +[[package]] +name = "fimt" +version = "0.1.0" +dependencies = [ + "clap", + "serde", + "toml", +] + [[package]] name = "hashbrown" version = "0.14.3" @@ -139,15 +148,6 @@ dependencies = [ "unicode-ident", ] -[[package]] -name = "project-cook" -version = "0.1.0" -dependencies = [ - "clap", - "serde", - "toml", -] - [[package]] name = "quote" version = "1.0.35" diff --git a/Cargo.toml b/Cargo.toml index 5af9202..8017335 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "project-cook" +name = "fimt" version = "0.1.0" edition = "2021" diff --git a/cook.toml b/fimt.toml similarity index 100% rename from cook.toml rename to fimt.toml diff --git a/src/config.rs b/src/config.rs index 9e0f707..e52257c 100644 --- a/src/config.rs +++ b/src/config.rs @@ -46,7 +46,7 @@ impl From for Error { } pub fn read_config(workdir: &PathBuf) -> Result { - let content = fs::read_to_string(workdir.join("cook.toml"))?; + let content = fs::read_to_string(workdir.join("fimt.toml"))?; let res = toml::from_str(&content).inspect_err(|e| { dbg!(e); })?;