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

libp2p-swarm-derive is not updated/published in 0.46 #2746

Closed
kpp opened this issue Jul 5, 2022 · 0 comments · Fixed by #2747
Closed

libp2p-swarm-derive is not updated/published in 0.46 #2746

kpp opened this issue Jul 5, 2022 · 0 comments · Fixed by #2747

Comments

@kpp
Copy link
Contributor

kpp commented Jul 5, 2022

version = "0.27.2"

I got a compilation error:

error[E0412]: cannot find type `ListenerId` in module `libp2p::core::connection`
  --> client/network/src/behaviour.rs:65:10
   |
65 | #[derive(NetworkBehaviour)]
   |          ^^^^^^^^^^^^^^^^
   |          |
   |          not found in `libp2p::core::connection`
   |          in this derive macro expansion
   |
  ::: /home/kpp/.cargo/registry/src/github.com-1ecc6299db9ec823/libp2p-swarm-derive-0.27.1/src/lib.rs:30:1
   |
30 | pub fn hello_macro_derive(input: TokenStream) -> TokenStream {
   | ------------------------------------------------------------ in this expansion of `#[derive(NetworkBehaviour)]`

For more information about this error, try `rustc --explain E0412`.

Can you please publish a hotfix? ^_^

Related to: #2730

cc @mxinden

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

Successfully merging a pull request may close this issue.

1 participant