fw-client
This library provides an API client to Flywheel for the Rust programming language
This library is a fairly thin wrapper around the rust reqwest ecosystem.
The FWClient struct provides a simple API client, but also
- Handles Flywheel authentication
- Provides tracing via reqwest-tracing
- Provides retries via reqwest-retry
Getting started
You can add this library as dependency with cargo add fw-client
Usage
The FWClientBuilder can be used to create the FWClient
use ;
let client = new
.client_name
.client_version
.build
.expect;
let user_info = client
.get
.send
.await
.expect
.
.await
.expect;
Minimum Supported Rust Version (MSRV)
Minimum tested rust version is 1.82.0