Writing tokio code in rust has been difficult because of the Tokio Reform described in tokio.rs/blog/2018-02-tokio-… . The crate documentation doesn't clearly describe which crates are "old" and which are "new"... and mixing old and new leads to inscrutable error messages.
2
2
7
I think, though, that tokio-core and tokio-io are old and busted, and the stuff in tokio::runtime and tokio::reactor are the new hotness?
1
The thing I'm working on depends on crates (like hyper) that depend on the old stuff, which means I can't use *any* of the new stuff, or things blow up ("what do you mean, that stream type doesn't implement Future?").
2
Things are kind of a mess right now. We're not even using tokio but we can't upgrade `futures` because `futures_cpupool` hasn't updated.
1
1
I don't yet have an intuitive sense of rust error checking stages beyond knowing that I won't get borrow checker errors until I've fixed everything else.
Mar 28, 2018 · 7:03 PM UTC
1


