rename: rename to sermo
This commit is contained in:
parent
522ded016a
commit
c6af8917c9
3 changed files with 10 additions and 9 deletions
12
Cargo.toml
12
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"
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
# IRS - *an IRCd written in Rust*
|
||||
# sermo - *an IRCd written in Rust*
|
||||
|
||||

|
||||

|
||||

|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ fn get_config_path() -> Result<PathBuf, ConfigReadError> {
|
|||
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<PathBuf, ConfigReadError> {
|
|||
}
|
||||
}
|
||||
|
||||
let dir = PathBuf::from("/etc/irs/config.toml");
|
||||
let dir = PathBuf::from("/etc/sermo/config.toml");
|
||||
if dir.exists() {
|
||||
dir
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue