Example server & client broken
Closed this issue · 2 comments
canadaduane commented
I've been trying to get a server/client running and turned to the example server/client in src
. My code is failing so I tried to see if I could start from a "working state" using existing examples, but it looks like I can't get that to build either:
After cargo build --features examples
:
error[E0463]: can't find crate for `serde_derive`
--> src/examples/client.rs:21:1
|
21 | extern crate serde_derive;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
error[E0463]: can't find crate for `serde_derive`
--> src/examples/server.rs:21:1
|
21 | extern crate serde_derive;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
error: aborting due to previous error
If I can get the examples working, I think I can get my project using daemon-engine
. Thanks for the abstraction!
ryankurte commented
hey no worries, i've fixed up and updated the examples, and good luck! tokio etc. can be a bit of a nightmare.
(you also might be interested in looking at actix depending on what you're working on, i've recently moved some projects from this to that)
canadaduane commented
Thanks, and I'll check it out!
…On Sun, Jul 21, 2019, 5:36 PM Ryan ***@***.***> wrote:
Closed #4 <#4>.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#4?email_source=notifications&email_token=AAAABAMIVN3FNP3JDFGEKLLQATXH7A5CNFSM4IFTSWV2YY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGOSTUTAPQ#event-2498310206>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAAABALS5V6KZVHWL2SNFY3QATXH7ANCNFSM4IFTSWVQ>
.