summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeiko <heiko@schaefer.name>2021-05-03 21:43:21 +0200
committerHeiko <heiko@schaefer.name>2021-05-03 21:43:21 +0200
commitefdad89dbdd2cddb328332528291c272d49850a9 (patch)
tree942d26073e94dc296b44172dca10256f1e44997a
parent85c9fe84488af0f4072cb9cf9535a3753bab2087 (diff)
downloadopenpgp-ca-efdad89dbdd2cddb328332528291c272d49850a9.tar.gz
Use a specific git commit of rocket 0.5, and a matching serde version.
(The rocket master branch has changed in the meantime, and at first glance, the tokio runtime requirements seem to clash with sequoia-net)
-rw-r--r--Cargo.toml11
1 files changed, 6 insertions, 5 deletions
diff --git a/Cargo.toml b/Cargo.toml
index b38fafa..e203265 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -54,11 +54,12 @@ sequoia-openpgp = "1.1"
sequoia-net = "0.23"
# restd
-# -> use unreleased rocket 0.5 for now (works with rust stable)
-rocket = { git = "https://github.com/SergioBenitez/Rocket", branch = "master" }
-rocket_contrib = { git = "https://github.com/SergioBenitez/Rocket", branch = "master", features = ["handlebars_templates"] }
-serde = { version = "1.0", features = ["derive"] }
-serde_json = "1.0"
+# -> use unreleased rocket 0.5 for now (which works with rust stable)
+# (use fitting version of serde that go with that rocket 0.5 revision)
+rocket = { git = "https://github.com/SergioBenitez/Rocket", rev = "1f1f44f336e5a172361fc1860461bb03667b1ed2"}
+rocket_contrib = { git = "https://github.com/SergioBenitez/Rocket", rev = "1f1f44f336e5a172361fc1860461bb03667b1ed2", features = ["handlebars_templates"] }
+serde = { version = "=1.0.118", features = ["derive"] }
+serde_json = "=1.0.60"
# for rocket 0.5
[dependencies.tokio]