yew_form
yew_form copied to clipboard
yew_form_derive won't compile with latest syn
Compilation attempt end up with:
Compiling yew_form_derive v0.1.7
error[E0432]: unresolved import `syn::export`
--> /home/marcin/.cargo/registry/src/github.com-1ecc6299db9ec823/yew_form_derive-0.1.7/src/lib.rs:6:10
|
6 | use syn::export::{ToTokens, TokenStream};
| ^^^^^^ could not find `export` in `syn`
error[E0599]: no method named `to_tokens` found for reference `&syn::Path` in the current scope
--> /home/marcin/.cargo/registry/src/github.com-1ecc6299db9ec823/yew_form_derive-0.1.7/src/lib.rs:32:22
|
32 | path.to_tokens(&mut tokens);
| ^^^^^^^^^ method not found in `&syn::Path`
|
= help: items from traits can only be used if the trait is in scope
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
|
6 | use crate::quote::ToTokens;
|
error: aborting due to 2 previous errors
Some errors have detailed explanations: E0432, E0599.
For more information about an error, try `rustc --explain E0432`.
error: could not compile `yew_form_derive`
For more information I recommend refering to this issue.
Hi, the master contains an update for this issue. But the crates registry isn't updated.
When will the fix be released on the registries?
Having the exact same issue on rustc 1.62.0. Do we have to temporarily fetch the package from the GitHub repository instead of crates.io until it is updated?
Nevermind, this is from 2021.
Fixed in fork https://github.com/averichev/yew_form_binding