diff --git a/Cargo.toml b/Cargo.toml index eae8539..afe0940 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,16 +11,16 @@ built = { version = "0.5.1", features = ["git2", "chrono"] } [dependencies] built = { version = "0.5.1", features = ["git2", "chrono"] } -clap = "2.33.3" +clap = "3.0.14" diesel = { version = "1.4.8", features = ["sqlite", "r2d2", "chrono"] } diesel_migrations = "1.4.0" env_logger = "0.9.0" log = "0.4.14" r2d2 = "0.8.9" -rand = "0.8.4" +rand = "0.8.5" regex = "1.5.4" -reqwest = "0.11.6" -serde = "1.0.130" -serde_json = "1.0.69" -serenity = { version = "0.10", features = [ "collector", "unstable_discord_api" ] } -tokio = { version = "1.13.0", features = ["sync", "macros", "rt-multi-thread"] } +reqwest = "0.11.9" +serde = "1.0.136" +serde_json = "1.0.79" +serenity = { version = "0.10.10", features = [ "collector", "unstable_discord_api" ] } +tokio = { version = "1.16.1", features = ["sync", "macros", "rt-multi-thread"] } diff --git a/src/lib.rs b/src/lib.rs index 93bbbdd..acfa0ff 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -61,7 +61,7 @@ impl TypeMapKey for ManifoldConfig { #[commands(ping, set_config, get_config, version, set_activity, get_environment)] struct Core; -pub async fn prepare_client(arguments: ArgMatches<'_>, mut framework: StandardFramework, event_handler: T) -> ManifoldResult { +pub async fn prepare_client(arguments: ArgMatches, mut framework: StandardFramework, event_handler: T) -> ManifoldResult { let bot_environment = arguments.value_of("environment").unwrap_or("Production").to_string(); let config_file = format!("config/{}", arguments.value_of("config-file").unwrap_or("manifold.json")); if arguments.occurrences_of("make-config") > 0 {