From ce956a6d9ea34514f96d5e8110f5e21070ac841d Mon Sep 17 00:00:00 2001 From: Lev Kokotov Date: Mon, 20 Nov 2023 14:24:29 -0800 Subject: [PATCH] Revert "Upgrade to Rocket 0.5 (#1171)" This reverts commit ffe59087af8416c4b2dd28419a359938d706b332. --- pgml-dashboard/Cargo.lock | 17 +++++++---------- pgml-dashboard/Cargo.toml | 2 +- 2 files changed, 8 insertions(+), 11 deletions(-) diff --git a/pgml-dashboard/Cargo.lock b/pgml-dashboard/Cargo.lock index 182486a69..7927a5bbc 100644 --- a/pgml-dashboard/Cargo.lock +++ b/pgml-dashboard/Cargo.lock @@ -2375,7 +2375,7 @@ checksum = "9b2a4787296e9989611394c33f193f676704af1686e70b8f8033ab5ba9a35a94" [[package]] name = "pgml" -version = "0.9.6" +version = "0.9.5" dependencies = [ "anyhow", "async-trait", @@ -2947,9 +2947,8 @@ dependencies = [ [[package]] name = "rocket" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9e7bb57ccb26670d73b6a47396c83139447b9e7878cab627fdfe9ea8da489150" +version = "0.5.0-rc.3" +source = "git+https://github.com/SergioBenitez/Rocket#07fe79796f058ab12683ff9e344558bece263274" dependencies = [ "async-stream", "async-trait", @@ -2985,9 +2984,8 @@ dependencies = [ [[package]] name = "rocket_codegen" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a2238066abf75f21be6cd7dc1a09d5414a671f4246e384e49fe3f8a4936bd04c" +version = "0.5.0-rc.3" +source = "git+https://github.com/SergioBenitez/Rocket#07fe79796f058ab12683ff9e344558bece263274" dependencies = [ "devise", "glob", @@ -3002,9 +3000,8 @@ dependencies = [ [[package]] name = "rocket_http" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "37a1663694d059fe5f943ea5481363e48050acedd241d46deb2e27f71110389e" +version = "0.5.0-rc.3" +source = "git+https://github.com/SergioBenitez/Rocket#07fe79796f058ab12683ff9e344558bece263274" dependencies = [ "cookie", "either", diff --git a/pgml-dashboard/Cargo.toml b/pgml-dashboard/Cargo.toml index 0a0ddeaa5..fc6c2b2ee 100644 --- a/pgml-dashboard/Cargo.toml +++ b/pgml-dashboard/Cargo.toml @@ -35,7 +35,7 @@ pgvector = { version = "0.2.2", features = [ "sqlx", "postgres" ] } rand = "0.8" regex = "1.9" reqwest = { version = "0.11", features = ["json"] } -rocket = { version = "0.5", features = ["secrets", "json"] } +rocket = { git = "https://github.com/SergioBenitez/Rocket", features = ["secrets", "json"] } sailfish = "0.8.0" # 0.8.1 has breaking changes scraper = "0.17" serde = "1"