diff --git a/Cargo.toml b/Cargo.toml index 37dd9d5..0a60868 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,18 +1,18 @@ [package] -name = "irs" +name = "sermo" version = "0.1.0" edition = "2024" [dependencies] async-trait = "0.1.89" -clap = { version = "4.5.53", features = ["derive"] } -tokio = { version = "1.48.0", features = ["full"] } +clap = { version = "4.5.58", features = ["derive"] } +tokio = { version = "1.49.0", features = ["full"] } console-subscriber = { version = "0.5.0", optional = true } tracing = "0.1.44" tracing-subscriber = "0.3.22" -thiserror = "2.0.17" -anyhow = "1.0.100" -toml = "0.9.10" +thiserror = "2.0.18" +anyhow = "1.0.101" +toml = "1.0.0" serde = { version = "1.0.228", features = ["derive"] } once_cell = "1.21.3" diff --git a/README.md b/README.md index 321332a..4e51905 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ -# IRS - *an IRCd written in Rust* +# sermo - *an IRCd written in Rust* + ![Rust](https://img.shields.io/badge/rust-%23000000.svg?style=for-the-badge&logo=rust&logoColor=orange) ![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg?style=for-the-badge) ![IRC](https://img.shields.io/badge/irc-black?style=for-the-badge) diff --git a/src/config.rs b/src/config.rs index bd1021a..6548054 100644 --- a/src/config.rs +++ b/src/config.rs @@ -19,7 +19,7 @@ fn get_config_path() -> Result { if cfg!(target_os = "linux") { if let Some(mut homedir) = home_dir() { homedir.push(".config"); - homedir.push("irs"); + homedir.push("sermo"); homedir.push("config.toml"); if homedir.exists() { @@ -27,7 +27,7 @@ fn get_config_path() -> Result { } } - let dir = PathBuf::from("/etc/irs/config.toml"); + let dir = PathBuf::from("/etc/sermo/config.toml"); if dir.exists() { dir } else {