Upgraded crates, some formatting, and dependency updates.
This commit is contained in:
950
Cargo.lock
generated
950
Cargo.lock
generated
File diff suppressed because it is too large
Load Diff
@@ -10,7 +10,7 @@ color-eyre = "0.6.3"
|
||||
directories = "6.0"
|
||||
futures = "0.3"
|
||||
human-panic = "2.0"
|
||||
genai = "0.4.3"
|
||||
genai = "0.5"
|
||||
irc = "1.1"
|
||||
serde_json = "1.0"
|
||||
tracing = "0.1"
|
||||
@@ -46,7 +46,7 @@ features = [
|
||||
|
||||
[dev-dependencies]
|
||||
rstest = "~0.26"
|
||||
serial_test = "3.2"
|
||||
serial_test = "3.3"
|
||||
tempfile = "3.13"
|
||||
|
||||
[dev-dependencies.cargo-husky]
|
||||
|
||||
@@ -134,7 +134,7 @@ pub fn make_config(args: Args) -> Result<Config> {
|
||||
info!("Starting.");
|
||||
|
||||
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"))
|
||||
// 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.
|
||||
|
||||
Reference in New Issue
Block a user