REST with Rust - DEV Community
dev.to · 868 words · saved by 1 readers
This was originally published here. Calling REST APIs with rust may seem like a daunting task at...
This was originally published here . Calling REST APIs with rust may seem like a daunting task at first because of the steep and long learning curve of rust as a programming language. We know that contacting with REST APIs is something that we come across creating almost any other app that comes to mind. We’ll make use of the reqwest library to make our request that is essentially a higher level implementation of the default HTTP client. # Cargo.toml reqwest = { version = "0.11" , features = [ "json" ] } tokio = { version = "1" , features = [ "full" ] } dotenv = "0.15.0" # optional serde = { v
saved by
related reading
- A half-hour to learn Rustfasterthanli.me
- REST API: Everything You Need to Know | Directusdirectus.io
- Channels | Tokio - An asynchronous Rust runtimetokio.rs
- Introduction - Asynchronous Programming in Rustrust-lang.github.io
- Writing an OS in Rustos.phil-opp.com
- Rust Language Cheat Sheetcheats.rs
- How to Learn Rustgist.github.com
- tonic - Rustdocs.rs
- Master Hexagonal Architecture in Rusthowtocodeit.com
- Rust Documentationdoc.rust-lang.org
- Error Handling in Rust - Andrew Gallant's Blogburntsushi.net
- async/await on embedded Rust - Ferrous Systemsferrous-systems.com