Skip to content
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

Not working with IRON 0.4.0? #23

Closed
lephyrius opened this issue Jul 5, 2016 · 5 comments
Closed

Not working with IRON 0.4.0? #23

lephyrius opened this issue Jul 5, 2016 · 5 comments

Comments

@lephyrius
Copy link

I get wierd bugs when I try to get it to work with IRON 0.4.0 .

src/helpers.rs:16:12: 16:19 error: the trait bound `params::Params: plugin::Plugin<iron::Request<'_, '_>>` is not satisfied [E0277]
src/helpers.rs:16   match req.get_ref::<Params>().unwrap().find(&["fields"]) {
                              ^~~~~~~
src/helpers.rs:16:12: 16:19 help: run `rustc --explain E0277` to see a detailed explanation
src/helpers.rs:16:12: 16:19 help: the following implementations were found:
src/helpers.rs:16:12: 16:19 help:   <params::Params as plugin::Plugin<iron::request::Request<'a, 'b>>>
src/helpers.rs:38:12: 38:19 error: the trait bound `params::Params: plugin::Plugin<iron::Request<'_, '_>>` is not satisfied [E0277]
src/helpers.rs:38   match req.get_ref::<Params>().unwrap().find(&[param]) {

Is there some code changes needed? Or is it in the Params crate?

@SkylerLipthay
Copy link
Member

Hi! Yes, params and other Iron-related crates that are dependencies (bodyparser and urlencoded) need to be updated to use iron 0.4. I think this is mostly just simple maintenance work... I can get to this soon!

@RoxasShadow
Copy link

Hey @SkylerLipthay, any news about supporting iron 0.4?

@SkylerLipthay
Copy link
Member

@RoxasShadow thanks for the reminder. I'm reaching out to the rest of the team. I hope to have the update within the next couple of days. There's no technical hold-up, just bureaucratic things...

@SkylerLipthay
Copy link
Member

0.3.0 has been released, which is compatible with Iron 0.4 :)

@RoxasShadow
Copy link

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants