Hi, I'm new to Rust, but have been following getting started, but still getting issues while compiling.
I initiated the getting started project directly in docker container rust:1.73.0.
I'm sure i'm missing something, but not sure what, any help would be appreciated.
Errors:
....
error[E0463]: can't find crate for `http`
--> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/actix-http-3.4.0/src/header/map.rs:641:22
|
641 | fn from(mut map: http::HeaderMap) -> HeaderMap {
| ^^^^ can't find crate
error[E0463]: can't find crate for `http`
--> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/actix-http-3.4.0/src/header/shared/content_encoding.rs:110:39
|
110 | fn try_into_value(self) -> Result<http::HeaderValue, Self::Error> {
| ^^^^ can't find crate
error[E0463]: can't find crate for `h2`
--> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/actix-http-3.4.0/src/payload.rs:57:16
|
57 | impl<S> From<::h2::RecvStream> for Payload<S> {
| ^^ can't find crate
error[E0463]: can't find crate for `h2`
--> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/actix-http-3.4.0/src/payload.rs:58:23
|
58 | fn from(stream: ::h2::RecvStream) -> Self {
| ^^ can't find crate
error[E0463]: can't find crate for `actix_rt`
--> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/actix-http-3.4.0/src/ws/dispatcher.rs:322:25
|
322 | actix_rt::spawn(async move {
| ^^^^^^^^ can't find crate
error[E0463]: can't find crate for `rand`
--> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/actix-http-3.4.0/src/ws/frame.rs:194:24
|
194 | let mask = rand::random::<[u8; 4]>();
| ^^^^ can't find crate
...