Hello i have a problem with rust, and more exactly with cargo update
Yesterday my project, was running and i can compiled it
Today i have update my project with:
cargo update
[kapoira@localhost scrape_mangatown_reqwest_sync_lista_completa]$ cargo update
Updating crates.io index
Updating bitflags v1.0.4 -> v1.1.0
Adding rand_core v0.5.0
Updating rand_hc v0.1.0 -> v0.1.1
Updating rand_isaac v0.1.1 -> v0.1.2
Updating rand_xorshift v0.1.1 -> v0.1.2
Updating tokio-sync v0.1.5 -> v0.1.6
But the problem it's that now i can't build it???
cargo build --release
error[E0277]: the trait bound `rand_hc::Hc128Rng: rand_core::SeedableRng` is not satisfied
--> /home/kapoira/.cargo/registry/src/github.com-1ecc6299db9ec823/rand-0.6.5/src/deprecated.rs:282:5
|
282 | / fn from_seed(seed: Self::Seed) -> Self {
283 | | StdRng(rngs::StdRng::from_seed(seed))
284 | | }
| |_____^ the trait `rand_core::SeedableRng` is not implemented for `rand_hc::Hc128Rng`
error: aborting due to 28 previous errors
For more information about this error, try `rustc --explain E0277`.
error: Could not compile `rand`.
warning: build failed, waiting for other jobs to finish...
error: build failed
I was thinking that while doesn't change the big number of the version (api) i can update and build without worries
my cargo.toml
[kapoira@localhost scrape_mangatown_reqwest_sync_lista_completa]$ cat Cargo.toml
[package]
name = "scrape_reqwest"
version = "0.2.0"
authors = ["Guillermo Cabezas <kapoira@gmail.com>"]
edition = "2018"
[dependencies]
select = "0.4.2"
reqwest = "0.9.2"
ansi_term = "0.11.0"
url = "1.7.1"
Now i have a Problem that i can't build it (i know that reqwest depends of rand)
but i have to change anything in my cargo.toml?
what is happening here?????
I was thinking that with my toml, and with a code thats compiles yesterday i can compile forever
(sorry for my english)