rename: rename to sermo
This commit is contained in:
parent
522ded016a
commit
b06392424c
2 changed files with 8 additions and 8 deletions
12
Cargo.toml
12
Cargo.toml
|
|
@ -1,18 +1,18 @@
|
||||||
[package]
|
[package]
|
||||||
name = "irs"
|
name = "sermo"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
edition = "2024"
|
edition = "2024"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
async-trait = "0.1.89"
|
async-trait = "0.1.89"
|
||||||
clap = { version = "4.5.53", features = ["derive"] }
|
clap = { version = "4.5.58", features = ["derive"] }
|
||||||
tokio = { version = "1.48.0", features = ["full"] }
|
tokio = { version = "1.49.0", features = ["full"] }
|
||||||
console-subscriber = { version = "0.5.0", optional = true }
|
console-subscriber = { version = "0.5.0", optional = true }
|
||||||
tracing = "0.1.44"
|
tracing = "0.1.44"
|
||||||
tracing-subscriber = "0.3.22"
|
tracing-subscriber = "0.3.22"
|
||||||
thiserror = "2.0.17"
|
thiserror = "2.0.18"
|
||||||
anyhow = "1.0.100"
|
anyhow = "1.0.101"
|
||||||
toml = "0.9.10"
|
toml = "1.0.0"
|
||||||
serde = { version = "1.0.228", features = ["derive"] }
|
serde = { version = "1.0.228", features = ["derive"] }
|
||||||
once_cell = "1.21.3"
|
once_cell = "1.21.3"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,7 @@ fn get_config_path() -> Result<PathBuf, ConfigReadError> {
|
||||||
if cfg!(target_os = "linux") {
|
if cfg!(target_os = "linux") {
|
||||||
if let Some(mut homedir) = home_dir() {
|
if let Some(mut homedir) = home_dir() {
|
||||||
homedir.push(".config");
|
homedir.push(".config");
|
||||||
homedir.push("irs");
|
homedir.push("sermo");
|
||||||
homedir.push("config.toml");
|
homedir.push("config.toml");
|
||||||
|
|
||||||
if homedir.exists() {
|
if homedir.exists() {
|
||||||
|
|
@ -27,7 +27,7 @@ fn get_config_path() -> Result<PathBuf, ConfigReadError> {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
let dir = PathBuf::from("/etc/irs/config.toml");
|
let dir = PathBuf::from("/etc/sermo/config.toml");
|
||||||
if dir.exists() {
|
if dir.exists() {
|
||||||
dir
|
dir
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue