From 99ff9cdc6890959cd4d2112c2e37b97ae83cb43c Mon Sep 17 00:00:00 2001 From: Vika Date: Sun, 9 Jul 2023 22:22:34 +0300 Subject: cargo update, part 2: Axum MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Axum got some breaking changes and gained some nice features — however, features come later, breaking changes come first. Perhaps it would be nice to actually construct a State with all of my stuff, and then make functions generic over that. Could reduce the amount of generic stuff I am producing... maybe. --- kittybox-rs/Cargo.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'kittybox-rs/Cargo.toml') diff --git a/kittybox-rs/Cargo.toml b/kittybox-rs/Cargo.toml index 1175828..71ebc66 100644 --- a/kittybox-rs/Cargo.toml +++ b/kittybox-rs/Cargo.toml @@ -114,10 +114,10 @@ features = ["io-util"] version = "^1.0.42" optional = true [dependencies.axum] -version = "^0.5.11" -features = ["multipart", "json", "headers", "form"] +version = "^0.6.18" +features = ["multipart", "json", "headers", "form", "macros"] [dependencies.axum-extra] -version = "^0.3.7" +version = "^0.7.4" features = ["cookie"] [dependencies.chrono] # Date and time library for Rust version = "^0.4.19" -- cgit 1.4.1