google/comprehensive-rust

54.1 Join (dependencies)

Open

#1 330 ouverte le 9 oct. 2023

Voir sur GitHub
 (5 commentaires) (0 réactions) (1 assigné)Rust (32 954 stars) (2 009 forks)batch import
buggood first issuehelp wanted

Description

Discussed in https://github.com/google/comprehensive-rust/discussions/1317

Originally posted by njr0 October 6, 2023 I had to add these dependencies to may Cargo.toml to make it work. As with the last few suggestions, I think it will help to includes these in the speaker notes or main text, especially since this can't be run in the playground. (And who wants to be in a playground anyway?)

[dependencies]
tokio = { version = "1.32.0", features = ["full"] }
reqwest = { version = "0.11.22", features = ["blocking", "rustls-tls"] }
futures = "0.3"
anyhow = "1.0"

Guide contributeur