Getting Error on upgrading the version of the ntex to 0.5 #127
Replies: 3 comments
-
The above issue got sorted when I added feature to ntex in Cargo.toml. The file now looks like:
Now I am getting the following error:
The relevant code is
According to the official docs, app_data is a valid method |
Beta Was this translation helpful? Give feedback.
-
use web::types::State instead of Data |
Beta Was this translation helpful? Give feedback.
-
Thankyou, this removes the deprecated warning. |
Beta Was this translation helpful? Give feedback.
-
I am getting the following error after I upgraded the version of the ntex. Not sure where I am going wrong or how to resolve it?
The dependencies in Cargo.toml looks like:
The repository I am working can be found here
Beta Was this translation helpful? Give feedback.
All reactions