rename project
This commit is contained in:
parent
31e1561b3e
commit
c1688a424c
4 changed files with 11 additions and 11 deletions
18
Cargo.lock
generated
18
Cargo.lock
generated
|
@ -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"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
[package]
|
||||
name = "project-cook"
|
||||
name = "fimt"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
|
||||
|
|
|
@ -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);
|
||||
})?;
|
||||
|
|
Loading…
Reference in a new issue