google/comprehensive-rust

54.1 Join (dependencies)

Open

#1330 aperta il 9 ott 2023

Vedi su GitHub
 (5 commenti) (0 reazioni) (1 assegnatario)Rust (2009 fork)batch import
buggood first issuehelp wanted

Metriche repository

Star
 (32.954 star)
Metriche merge PR
 (Merge medio 9g 23h) (36 PR mergiate in 30 g)

Descrizione

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"

Guida contributor