53.4 Tasks
#1316
Replies: 1 comment 4 replies
-
@sakex, @rbehjati, and @djmitche: can we make this more clear in the course? |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
This is clearly framed as something that needs the Speaker to have some context and a "prepared
main.rs
".That's fine if you only want the course (or at least, this section of the course) to be usable in a classroom context, but is not great for folks trying to do it themselves.
I made it run OK (by just adding
tokio = { version = "1.32.0", features = ["full"] }
as a dependency inCargo.toml
, and I could get it to sayconnection from 127.0.0.1:64382
etc. by usingcurl
, but I guess I'd have to write code to connect to the socket and receive the question and send a reply and stuff. Presumably, that's what's in the "preparedmain.rs
.I guess I think it would be helpful to include the prepared main (and maybe notes on what you need in
Cargo.toml
) in the speaker notes.Beta Was this translation helpful? Give feedback.
All reactions