Rust SpaceTraders API Client
This is an async Rust client for the SpaceTraders API game. This client is not official as are all client libraries for the game.
The APIs and models are generated from the game specification using the OpenAPI Generator. The generation template has been rewritten from scratch to provide a high quality client.
Please see the getting started guide for the game. The demo example in this repository shows using the crate to implement the steps shown in the "New game" section.
Other Clients
Here is a list of other SpaceTraders API clients in Rust.
spacedustuses the same tool to generate the client. However, it uses the default Rust template for the generator, which results in non-standard Rust code. It does use a version of the specification with more documentation.bevy_mod_pies_spacetraders_apiis a client specifically for thebevygame engine.spacetraderslooks to be abandoned.
Minimum Supported Rust Version
Requires Rust 1.64.0.
This crate follows the "Latest stable Rust" policy. The listed MSRV won't be changed unless needed. However, updating the MSRV anywhere up to the latest stable at time of release is allowed.