-
Notifications
You must be signed in to change notification settings - Fork 100
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
run examples code in my lib error #244
Comments
I just can only build examples code in |
It looks like the |
thanks for you response, now I can compile fine, but a panic is triggered in the |
Sorry, I'm new to Rust, how do I do this? |
tokio = { version = "1.28.0", features = ["rt", "macros"] } See https://doc.rust-lang.org/stable/cargo/reference/features.html#dependency-features. |
my rust env
I have a rust library which create by
cargo new circ --bin
I try to copy
irc/examples/simple_plaintext.rs
source code tocirc/src/main.rs
when I try to build it with
cargo build
, cargo give three errorsThis is src/main.rs
This is Cargo.toml
The text was updated successfully, but these errors were encountered: