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

wrong module name in yamux example? #1

Closed
b1tg opened this issue Dec 30, 2018 · 2 comments
Closed

wrong module name in yamux example? #1

b1tg opened this issue Dec 30, 2018 · 2 comments

Comments

@b1tg
Copy link

b1tg commented Dec 30, 2018

i encounter a error when running yamux example

https://github.com/driftluo/p2p/blob/a3fa13b15ab0350e624ee900639b758de4175f64/yamux/examples/simple.rs#L11

then i change yamux to tokio_yamux to run this example successfully

use tokio_yamux::{config::Config, session::Session, stream::StreamHandle};
@driftluo
Copy link
Owner

driftluo commented Dec 30, 2018

Oh, sorry, some time ago we changed the crate name in order to upload to crate.io, forgot to change the example. Thank you.

@driftluo
Copy link
Owner

Fix on 7bea970

driftluo pushed a commit that referenced this issue Jan 3, 2019
@yingnierxiao yingnierxiao mentioned this issue Aug 5, 2020
driftluo pushed a commit that referenced this issue Aug 6, 2021
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

2 participants