crawler1 [Rust] Web Crawler 예제 (55일차) ==> HTTP Request 생성 # Cargo.toml # ...중략 [dependencies] reqwest = { version = "0.11", features = ["json", "blocking"] }# Request with JSON parsing support futures = "0.3"# for our async / await blocks tokio = { version = "1.12.0", features = {"full"} } # for our async runtime // src/main.rs use std::io::Read; fn main() { let client = reqwest::blocking::Client::new(); let origin_url = "https://ro.. 2023. 2. 8. 이전 1 다음