Closed gpestana closed 3 years ago
This is probably duplicate of #225. Both change 32 lines, but I didn't compare every line.
#![allow(deprecated)]
on the toplevel of the file, before the use
of rouille works.
Note the bang: #!
...but that's a big hammer and silences all deprecation notes for the file, not just the rouille one.
Well, #![allow(deprecated)]
at the very first line doesn't silence the warning in my code.
Got it: at the very first line in my main.rs
it does indeed silence the warning, for all the files in the project. But it's way too big a hammer for me.
Huh, works for me. I'm still on rustc 1.40.0, though.
(See previous comment, edited)
This is probably duplicate of #225. Both change 32 lines, but I didn't compare every line.
Yeah, exact duplicate of #225.
The earlier PR #225 was cherry picked as 1096f2bceb641ea82c186760b8727ed61a93872b, thanks for the submission anyway!
Thanks @bradfier !
In the meantime, does anyone have a workaround to eliminate the warning without vendoring
rouille
? No amount of#[allow(deprecated)]
around thepost_input!
macro does help.