-
Notifications
You must be signed in to change notification settings - Fork 143
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
iron integration does not compile #81
Comments
show your Cargo.toml |
@yanns problem is that maud added support for iron for 0.5.x version if I am not mistaken, anyway this will solve your problem λ ow master /tmp/zeugnis
$ g diff
diff --git a/Cargo.toml b/Cargo.toml
index b3a9e23..5783b45 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -4,7 +4,7 @@ version = "0.1.0"
authors = ["Yann Simon <[email protected]>"]
[dependencies]
-iron = "0.4.0"
+iron = "0.5.1"
maud = { version = "*", features = ["iron"] }
maud_macros = "*"
|
Thx for the hint! |
@yanns if documentation is outdated or missing extra step please feel free to update it |
@ernestas-poskus is pretty much correct here. Maud depends on Iron 0.5.* only, so if your app uses 0.4 then the compiler will report that they are incompatible. See also rust-lang/rust#22750 and rust-lang/cargo#2064 and this article. |
I understand all your points. |
I am trying to propose a change for the documentation, but I don't get how gitbook is working... too dumb... |
I followed the instructions found on https://maud.lambda.xyz/web_frameworks.html to integrate with iron.
And this was working until I updated my dependencies.
Now I have the following compilation error:
I use hyper v0.10.5
Any hint?
The text was updated successfully, but these errors were encountered: