Closed iamazy closed 3 years ago
Thanks, this is great! However, it looks like we'll have to bump lexical-core
again to compile with rustc 1.53.0, otherwise I'm getting these compilation errors:
$ cargo build
[...]
error[E0308]: mismatched types
--> /Users/erik/.cargo/registry/src/github.com-1ecc6299db9ec823/lexical-core-0.7.4/src/atof/algorithm/bhcomp.rs:62:24
|
62 | let bytes = bits / Limb::BITS;
| ^^^^^^^^^^ expected `usize`, found `u32`
@erikgrinaker Thanks,I used rustc 1.49.0 and I got no error when I run cargo build
and cargo test
. Now my rustc update to 1.53.0, I did got the error what you list. I found that lexical-core
is dependency of config
crate, temporary solution is list lexical-core
in Cargo.toml, when config
crate updates its lexical-core
dependency, can remove it again.
I found that
lexical-core
is dependency ofconfig
crate, temporary solution is listlexical-core
in Cargo.toml, whenconfig
crate updates itslexical-core
dependency, can remove it again.
Thanks! I don't think that's necessary though, a simple cargo update
solved it for me by bumping it in Cargo.lock
.
Thanks! I don't think that's necessary though, a simple cargo update solved it for me by bumping it in Cargo.lock.
Thanks, It do work. It seems that I should read cargo book haha :)
Haha, no worries. Thanks again!
Major changes
stream
totokio-stream
tokio::mpsc::Receiver
,tokio::mpsc::UnboundedReceiver
,tokio::net::TcpListener
no longer implement traittokio::stream::StreamExt
, need to convert them totokio_stream::wrappers::{ReceiverStream, UnboundedReceiverStream,TcpListenerStream}
try_recv()
frommpsc
types. Temporary solution is userecv().now_or_never()
and will change it back in the future (see tokio#3350 for more details).