Upgraded crates, some formatting, and dependency updates.

This commit is contained in:
Micheal Smith
2026-01-13 15:40:38 -06:00
parent b4bbe03f4c
commit 31266dd3e2
3 changed files with 609 additions and 347 deletions

950
Cargo.lock generated

File diff suppressed because it is too large Load Diff

View File

@@ -10,7 +10,7 @@ color-eyre = "0.6.3"
directories = "6.0" directories = "6.0"
futures = "0.3" futures = "0.3"
human-panic = "2.0" human-panic = "2.0"
genai = "0.4.3" genai = "0.5"
irc = "1.1" irc = "1.1"
serde_json = "1.0" serde_json = "1.0"
tracing = "0.1" tracing = "0.1"
@@ -46,7 +46,7 @@ features = [
[dev-dependencies] [dev-dependencies]
rstest = "~0.26" rstest = "~0.26"
serial_test = "3.2" serial_test = "3.3"
tempfile = "3.13" tempfile = "3.13"
[dev-dependencies.cargo-husky] [dev-dependencies.cargo-husky]

View File

@@ -134,7 +134,7 @@ pub fn make_config(args: Args) -> Result<Config> {
info!("Starting."); info!("Starting.");
Config::builder() Config::builder()
.add_source(config::File::with_name(&config_location.to_string_lossy()).required(false)) .add_source(config::File::with_name(&config_location.to_string_lossy()).required(true))
.add_source(config::Environment::with_prefix("BOT")) .add_source(config::Environment::with_prefix("BOT"))
// Doing all of these overrides provides a unified access point for options, // Doing all of these overrides provides a unified access point for options,
// but a derive macro could do this a bit better if this becomes too large. // but a derive macro could do this a bit better if this becomes too large.