rename project

This commit is contained in:
Dmitriy Pleshevskiy 2024-03-19 11:06:16 +03:00
parent 31e1561b3e
commit c1688a424c
Signed by: pleshevskiy
GPG Key ID: 17041163DA10A9A2
4 changed files with 11 additions and 11 deletions

18
Cargo.lock generated
View File

@ -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"

View File

@ -1,5 +1,5 @@
[package]
name = "project-cook"
name = "fimt"
version = "0.1.0"
edition = "2021"

View File

@ -46,7 +46,7 @@ impl From<toml::de::Error> for Error {
}
pub fn read_config(workdir: &PathBuf) -> Result<Config, Error> {
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);
})?;